Hi,
FC3 is out soon. I'm packaging a program for fedora extras, which should register itself for the new mime system under FC3/Gnome2.8. So, update-desktop-database should be included in the spec file for FC3, but not for FC1 and FC2. How to make the packaging? Should I prepare a different srpm for FC3? Or including some if statement?
Zoltan
On Tue, 5 Oct 2004 09:19:44 +0200 (CEST), Zoltan Kota wrote:
Hi,
FC3 is out soon. I'm packaging a program for fedora extras, which should register itself for the new mime system under FC3/Gnome2.8. So, update-desktop-database should be included in the spec file for FC3, but not for FC1 and FC2. How to make the packaging? Should I prepare a different srpm for FC3? Or including some if statement?
Yes to the latter. Make it require desktop-file-utils for the scriplets and call update-desktop-database only if it exists.
devel@lists.stg.fedoraproject.org