Description of problem: When I create a package with many subpackages, they do not inherit the src.rpm Group tag if unspecified like other metadata (and rpmlint will complain if this tag is unspecified) This forces packagers to repeat many times over the same group info (big problem for font set packages which have many subpackages ; each line of useless fluff makes them less maintenable). And we don't even use this tag anymore for anything useful. Please limit the pain and make one group tag per spec files sufficient. Version-Release number of selected component (if applicable): rpm-build-4.6.0-0.rc1.7.x86_64 Example problem spec http://cvs.fedoraproject.org/viewvc/devel/dejavu-fonts/dejavu-fonts.spec?revision=1.89&view=markup Note how the Group tag is about the only useless repetition that could not be factored out in every sub-package
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fixing version to align with rawhide again. Sorry for the noise.
Fixed upstream. The group tag is not mandatory for a while now. But good practise is to define at least the group tag in the main package otherwise it is set to "Unspecified". Group tag of the main package is inherited by subpackages if they haven't defined the group themselves. It applies from now on.
I've just tested it with rpm-4.6.0-2.fc11.x86_64 And subpackages are all set to "Unspecified" :( Maybe your change assumes there is a main package with the same name as the srpm? In my package all the subpackages have different names (but the srpm has the correct group tag)
Could you point me to src.rpm of your package?
(In reply to comment #5) > Could you point me to src.rpm of your package? Here it is http://nim.fedorapeople.org/dejavu-fonts-2.28-5.fc11.src.rpm
The reason you are seeing this is that the patches for the group inheritance aren't in rawhide rpm yet. Only in upstream (basically base for rpm-4.7.0). Maybe we want to backport the patches to current Fedora so that you can use it.
Since F11 is seeing rpm changes all over the place is would be nice to have this one included to have a single big change at F11 time
The fix is now in backported to rawhide rpm-4.6.0-4.