Created attachment 120951 [details] Spec file patch
Suggested changes to the current 0.2.8-1 spec file : * Fri Nov 11 2005 Matthias Saou <http://freshrpms.net/> 0.2.8.1-1 - Update to 0.2.8.1. - Don't own entire man/man1/ directory. - Mark dbus file as config. - Minor cleanups. The important fix is the man1 directory ownership. For the dbus config file, maybe it doesn't make much sense, or maybe it would be best as config(noreplace), I'm not sure. Same goes for the dbus services file : Should it be marked as %config or %config(noreplace)?
I'm going to be releasing 0.3.0 (major update) in a few days so it might be worth waiting and then just rolling this out for the new version. The new version does the gconf schema stuff in a better way so that the package actually works. The upstream spec might need fixing too: http://cvs.gnome.org/viewcvs/gnome-power-manager/gnome-power-manager.spec.in?rev=1.19&view=markup Richard.
For the man1 directory, yes the upstream spec file needs fixing too. It could do with more fixes and cleanups... for instance using %{buildroot} as the prefix passed to configure is plain wrong! I can provide the same fixes and cleanups against that spec file if you want.
Yes please. Commit directly to gnome CVS if you like. I think you know what you are doing :-)
I've done a few of these upstream. Can you comment on the new spec file please?
Attached is a new spec.in patch : - Change obsolete BuildPrereq to BuildRequires - Enter full source URL (drawback is the 0.3 directory on ftp.gnome.org) - Remove trailing leftover spaces - Use -jX make flags if configured - Don't compare strings against integers in the scriplets - Default to 0755 mode for directories - Don't include the generic INSTALL file These are all very minor details, and since the real problem (man1 directory ownership) has already been fixed, you can close this bug anytime you want ;-)
Created attachment 122453 [details] Spec file patch (against CVS rev 1.28)
I've applied your patch to the upstream CVS, many thanks. J5/mclasen, can you make sure that the next build of g-p-m uses the modifications in the the upstream tarball. Many thanks. Richard.