On Sat, 2006-06-03 at 22:38 +0100, Paul wrote: > 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? Why not just do the desktop-file-install *after* the "make install" or equivalent? Paul. -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list