Red Hat Bugzilla – Bug 1018796
Publican includes XML tags from <abstract> in %description and %post
Last modified: 2013-12-18 21:46:38 EST
Created attachment 811973 [details]
Sample Book_Info.xml file
Description of problem:
When Publican packages a book, it uses the information from the book's <abstract> to populate the %description and %post sections of the book's spec file
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Package any book
The entire abstract, including the <abstract> tags itself, and any child tags are included in the %description and %post sections of the spec file
Publican only uses the text from the abstract
Created attachment 811976 [details]
Sample spec file
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.
623a7e0..d084e0b HEAD -> devel
Does not seem to work:
rpm -q publican
~/Red-Hat-Books/RHEL7-Security_Guide$ publican package --lang en-US
I can still see DocBook markup in both %description and %post sections.
Am I doing something wrong?
git pull? The version I'm testing is publican-3.9.9-0.el6.t7.noarch and it works for the Users Guide.
If you update and it doesn't work please provide a link to the book source so I can test on that book.
Verified in publican-3.9.9-0.fc19.t7.noarch