https://bugzilla.redhat.com/show_bug.cgi?id=1079090
--- Comment #18 from Jonathan Dieter jdieter@lesbg.com --- (In reply to Mohammed Isam from comment #16)
(In reply to Jonathan Dieter from comment #14)
Mohammad, the problem is that the spec link still points to the old spec file. I've downloaded the srpm and run some preliminary checks. Thanks for fixing the items Carlos listed, but you also have %files being listed twice for each subpackage because %_font_pkg automatically creates a %files section for a font.
Hi Jonathan I am a little perplexed here. If I remove the %files sections, rpmbuild complains about finding (Installed but unpackaged files) and terminates in error. Still, it is working with the current spec file, how is it possible? Furthermore, when I run (rpm -qpl) on the font packages, it lists the files correctly (with no repeated files). Should I remove the %files sections from my spec? If yes, how to solve the rpmbuild panic error?
The problem is that the manpages aren't packaged by %_font_pkg but are listed in the %files sections. I would suggest dropping both the man and info pages as they're really not necessary for a font. I checked a couple of other Fedora fonts and they don't contain man or info pages.
If you remove the man and info pages, then you can also remove all of the %files sections except -common