Red Hat Bugzilla – Bug 663206
[RFE] publican creates invalid spec files
Last modified: 2011-07-25 20:42:32 EDT
Description of problem:
It is invalid for summary and description to be epty or only contain white space. Currently Publican will happily generate invalid spec files if these fields contain white space.
Version-Release number of selected component (if applicable):
Packages that fail rpmlint are created when subtitle or abstract only contain white space.
Publican should refuse to create invalid packages.
Added code to check subtitle and abstract are valid before creating spec file. tar.gz file will still be created regardless of RPM issues.
Fixed in revision 1690
Back ported to branches/publican-2x
Committed revision 1800.
Hi Jeff, I'm trying to build a set and I am getting:
WARNING: You can not create RPM packages with a blank subtitle. Skipping RPM creation.
Use of uninitialized value in subroutine entry at /usr/bin/publican line 910.
Can't locate srpm, CVS import aborted at /usr/bin/publican line 912
This is expected, due to this update, but both the Set_Info.xml and the Book_Info.xmls for the included books HAVE subtitles, so this error probably shouldn't show up, should it?
It does work fine for books, though.
Fix verified. I can't reproduce the earlier bug. I must have been looking at it wrong.