Description of problem: When creating a source desktop package, Package Manager refuses to install, claiming with a "Cannot add package Documentation-*-en-US-0-0.fc14.src.rpm to transaction. Not a compatible architecture: src". However manual build from the created spec file, builds creating a binary installable package. Version-Release number of selected component (if applicable): 2.5 Steps to Reproduce: 0. in publican.cfg, set os_ver: .fc14 1. create a source desktop package (publican package --desktop --lang en-US) 2. sudo yum localinstall Documentation-*-en-US-0-0.fc14.src.rpm Actual results: Cannot add package Documentation-*-en-US-0-0.fc14.src.rpm to transaction. Not a compatible architecture: src Expected results: Build and install documentation. Additional info: Tested spec with rpmlint, and rpmbuild: NO problems.
Hi Luigi, this behaviour is correct, you cannot install source RPMs with Package Manager. Publican will create binary RPMs if you add --binary to the command line. e.g. $ publican package --desktop --lang en-US --binary The binary package name will match: Documentation-*-en-US-0-0.fc14.noarch.rpm
Section 3.7.1.1. Source RPM packages and binary RPM packages needs to be reviewed.
Created attachment 469531 [details] PUG-patch
Hi Jeff, thank you for the answer. Hi Rüdiger, I've a new patch for PUG. I've inserted some examples about toc_section_depth, generate_section_toc_level and chunk_section_depth. Greetings Luigi
Thanks once again for the detailed feedback and suggestions Luigi; I've incorporated the vast majority of them into the Guide for 2.6.
(In reply to comment #2) > Section 3.7.1.1. Source RPM packages and binary RPM packages needs to be > reviewed. OS: Fedora 16 Publican Version: publican-3.0-0.fc16.t168.src.rpm Remarks: Doc used to verify is http://jfearn.fedorapeople.org/en-US/Publican/2.7/html-single/Users_Guide/index.html This section is now 3.8.1.1. Source RPM packages and binary RPM packages Information about the differences between source and binary RPMs now clearer, with explanatory sub-section 3.8.1.2. Desktop packages and web packages explaining the differences in more detail.
(In reply to comment #4) > Hi Jeff, thank you for the answer. > > Hi Rüdiger, I've a new patch for PUG. I've inserted some examples about > toc_section_depth, generate_section_toc_level and chunk_section_depth. > > Greetings > Luigi OS: Fedora 16 Publican Version: publican-3.0-0.fc16.t168.src.rpm Remarks: Doc used to verify is http://jfearn.fedorapeople.org/en-US/Publican/2.7/html-single/Users_Guide/index.html 3.1.1. The publican.cfg file now contains detailed examples of the three build options mentioned.
The fix for this bug has been shipped in publican 3.2.0