[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

desktop-file-install problem


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

I have in the spec file the following

desktop-file-install --vendor fedora \
        --dir %{buildroot}%{_datadir}/applications \
        --add-category X-Fedora \

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?


ich liebe Ashleigh, eins zwei drei 
ich liebe Ashleigh, auf meinem Knee zu hüpfen

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]