Red Hat Bugzilla – Bug 445109
rpm -V reports changed hotwire.desktop file
Last modified: 2009-04-11 15:40:15 EDT
how to reproduce:
- "yum install hotwire"
- "rpm -V hotwire":
This is for sure not a critical problem, but in general a package should pass
this test and should not have any altered files (besides config files).
The reason for the problem is, that the desktop file is installed via
"desktop-file-install" in the %post script during installation. The usual way is
to install the desktop file with "desktop-file-insall" during the %install step
of the rpm build process (see e.g. evince.spec).
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
The problem is still present in F10, so moving the bug to F10, too.
I've attached a patch for hotwire.spec to fix the problem:
- create hotwire.spec during the build process and not in the %post section during installation
- call update-desktop-database in %post and %postun
As far as I know this is the way as the *.desktop files should be used. ;-)
It would be great if the patch could be applied and an updated packaged pushed to updates...
Thanks in advance!
Created attachment 326838 [details]
patch for hotwire.spec to fix the problem
Do you have a Fedora account? If so please apply.
(In reply to comment #4)
> Do you have a Fedora account? If so please apply.
Actually I have an account, but because I haven't finished the whole approval procedures yet, I don't have any permissions. Please can you do the checkin? ;-)
1006874 build (dist-f11, /cvs/pkgs:rpms/hotwire/devel:hotwire-0_721-3_fc11) completed successfully
sorry for the very late response - problem is solved in rawhide so I change the bug to -> CLOSED/RAWHIDE
Thanks for applying the patch!