desktop-file-install problem
Paul
paul at all-the-johnsons.co.uk
Sat Jun 3 21:38:05 UTC 2006
Hi,
It looks like monodevelop is finally almost ready for acceptance, but
I've hit a problem which can be gotten around, but I'm not happy with
it.
I have in the spec file the following
desktop-file-install --vendor fedora \
--dir %{buildroot}%{_datadir}/applications \
--add-category X-Fedora \
%{SOURCE1}
where Source1 is monodevelop.desktop
When it builds, both the fedora-monodevelop.desktop and
monodevelop.desktop are installed into
%{buildroot}%{_datadir}/applications which is wrong - only the
fedora-monodevelop one should be there.
If I add --delete-original after the vendor, the build breaks as it can
no longer find monodevelop.desktop.
To get around this, after the file install, I just have a line
rm -f %{buildroot}%{_datadir}/applications/monodevelop.desktop
and all is happy in the world.
Have I found a problem with desktop-file-install or am I simply not
doing things correctly?
TTFN
Paul
--
ich liebe Ashleigh, eins zwei drei
ich liebe Ashleigh, auf meinem Knee zu hüpfen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060603/6ca86431/attachment.sig>
More information about the fedora-extras-list
mailing list