Red Hat Bugzilla – Bug 540361
publican.cfg variables do not override book_info.xml
Last modified: 2010-11-23 23:19:56 EST
Description of problem:
Given the existence of the publican.cfg file publican should accept arbitrary and non-latin names, products and versions. The book_info.xml file should allow any value in productnumber, title, edition, subtitle and so on.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a book
2. Put something funky in the edition (for example: 愛) and then configure a numerical version in the publican config file (for example: 1).
3. book breaks (see "results").
Invalid format for version. Value (愛) does not conform to constraint ([^0-9.]) at /usr/bin/publican line 362
These constraints should be removed if there is a value present in the configuration file.
The book should build and output an RPM with version 1 and a product with edition 愛.
Edition Beta/Alpha and prerelease should work. Product numbers and editions should support latin characters, non latin characters and punctuation.
*** Bug 540750 has been marked as a duplicate of this bug. ***
tested building and packaging with the following settings.
$ grep edition en-US/Book_Info.xml publican.cfg
Built and packaged correctly with o error messages. Please supply a link to your source so we can check it for oddities.
This works in 1.2. It just affected 1.1. Fixed.