http://bugzilla.novell.com/show_bug.cgi?id=510973
User cmorve69@yahoo.es added comment
http://bugzilla.novell.com/show_bug.cgi?id=510973#c2
--- Comment #2 from Cristian Morales Vega 2009-06-09 05:20:57 MDT ---
To me it is also useful for RPM_BUILD_DIR. Upstream sometimes puts the icon and
desktop file in the tarball but doesn't installs it with the makefile install
rule. Not sure why, but even more common is the case where there is a icon in
the tarball but no desktop file :-?
When I need to install/create the desktop file I will put the
%suse_update_desktop_file -i %{name}
whatever the .desktop file is in RPM_SOURCE_DIR or RPM_BUILD_DIR tree.
The need to add a
%{__install} -p -D -m 0644 '%{name}.png'
'%{buildroot}%{_datadir}/pixmaps/%{name}.png'
for a case but not for the other isn't... "coherent". It was strange enough for
me to look at the suse_update_desktop_file.sh script ;-)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.