desktop-file-install problem

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

 



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

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

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux