Description of problem: The User Guide says in three places in Chapter 7 that: "Note that by default, Publican generates an RPM package to install on a server that runs Red Hat Enterprise Linux 5." It suggests you set the os_ver parameter to alter this behaviour. This does not match up with what Publican (3.1.5) actually does though; it builds the package for whatever OS you are running when you build it. Version-Release number of selected component (if applicable): 3.0 How reproducible: Steps to Reproduce: 1. Open document and go to Chapter 7 2. Search for string "Red Hat Enterprise Linux 5" 3. View three places where this information is included (sections 7.2.2, 7.2.3 and 7.2.4) Actual results: Expected results: Additional info:
*** This bug has been marked as a duplicate of bug 861794 ***
7.2.2. Creating, installing, and updating the home page Original -------- Note that by default, Publican generates an RPM package to install on a server that runs Red Hat Enterprise Linux 5. To build an RPM package to install on a server that runs a different operating system, set the os_ver parameter in the home page's publican.cfg file. Update ------ By default, Publican builds the RPM package for the operating system within which you are running Publican. To build an RPM package to install on a server that runs a different operating system, set the os_ver parameter in the home page's publican.cfg file. 7.2.3. Creating, installing, and updating product pages and version pages Original -------- Publican builds an RPM package and places it in the /tmp/rpms/noarch/ directory of the product page or version page. Note that by default, Publican generates an RPM package to install on a server that runs Red Hat Enterprise Linux 5. To build an RPM package to install on a server that runs a different operating system, set the os_ver parameter in the publican.cfg file of the product page or version page. Update ------ Publican builds an RPM package and places it in the /tmp/rpms/noarch/ directory of the product page or version page. By default, Publican builds the RPM package for the operating system within which you are running Publican. To build an RPM package to install on a server that runs a different operating system, set the os_ver parameter in the publican.cfg file of the product page or version page. 7.2.4. Installing, updating and removing documents Original -------- Publican builds an RPM package and places it in the /tmp/rpms/noarch/ directory of the document. Note that by default, Publican generates an RPM package to install on a server that runs Red Hat Enterprise Linux 5. To build an RPM package to install on a server that runs a different operating system, set the os_ver parameter in the document's publican.cfg file. Update ------ Publican builds an RPM package and places it in the /tmp/rpms/noarch/ directory of the document. By default, Publican builds the RPM package for the operating system within which you are running Publican. To build an RPM package to install on a server that runs a different operating system, set the os_ver parameter in the document's publican.cfg file. One more relevant instance appears here: publican.cfg parameters: os_ver the operating system for which to build packages. (Default: .el5 — Red Hat Enterprise Linux 5) I have changed this to: os_ver the operating system for which to build packages. Git commit ---------- eaa944f..84346f5
(In reply to Zac Dover from comment #3) > 7.2.2. Creating, installing, and updating the home page > Original > -------- > Note that by default, Publican generates an RPM package to install on > a server that runs Red Hat Enterprise Linux 5. To build an RPM package > to install on a server that runs a different operating system, set the > os_ver parameter in the home page's publican.cfg file. > > Update > ------ > By default, Publican builds the RPM package for the operating system > within which you are running Publican. To build an RPM package to install > on a server that runs a different operating system, set the os_ver > parameter in the home page's publican.cfg file. > Verified in 7.2.2. > > 7.2.3. Creating, installing, and updating product pages and version pages > Original > -------- > Publican builds an RPM package and places it in the /tmp/rpms/noarch/ > directory of the product page or version page. Note that by default, > Publican generates an RPM package to install on a server that runs > Red Hat Enterprise Linux 5. To build an RPM package to install on a > server that runs a different operating system, set the os_ver parameter > in the publican.cfg file of the product page or version page. > > Update > ------ > Publican builds an RPM package and places it in the /tmp/rpms/noarch/ > directory of the product page or version page. By default, Publican builds > the RPM package for the operating system within which you are running > Publican. To build an RPM package to install on a server that runs a > different operating system, set the os_ver parameter in the publican.cfg > file of the product page or version page. Verified in 7.2.3. A space is missing within this paragraph after the period that ends the first sentence and the beginning of the second one. Currently, the PDF version renders as follows: "... directory of the product page or version page.By default, Publican builds ..." > > 7.2.4. Installing, updating and removing documents > Original > -------- > Publican builds an RPM package and places it in the /tmp/rpms/noarch/ > directory of the document. Note that by default, Publican generates an > RPM package to install on a server that runs Red Hat Enterprise Linux 5. > To build an RPM package to install on a server that runs a different > operating system, set the os_ver parameter in the document's > publican.cfg file. > > Update > ------ > Publican builds an RPM package and places it in the /tmp/rpms/noarch/ > directory of the document. By default, Publican builds the RPM package > for the operating system within which you are running Publican. To build > an RPM package to install on a server that runs a different operating > system, set the os_ver parameter in the document's publican.cfg file. > Verified in 7.2.4. > > > One more relevant instance appears here: > > publican.cfg parameters: > os_ver > the operating system for which to build packages. (Default: .el5 — Red > Hat Enterprise Linux 5) > > I have changed this to: > os_ver > the operating system for which to build packages. Verified in "publican.cfg parameters".
(In reply to Misha H. Ali from comment #4) > > 7.2.3. Creating, installing, and updating product pages and version pages > > Original > > -------- > > Publican builds an RPM package and places it in the /tmp/rpms/noarch/ > > directory of the product page or version page. Note that by default, > > Publican generates an RPM package to install on a server that runs > > Red Hat Enterprise Linux 5. To build an RPM package to install on a > > server that runs a different operating system, set the os_ver parameter > > in the publican.cfg file of the product page or version page. > > > > Update > > ------ > > Publican builds an RPM package and places it in the /tmp/rpms/noarch/ > > directory of the product page or version page. By default, Publican builds > > the RPM package for the operating system within which you are running > > Publican. To build an RPM package to install on a server that runs a > > different operating system, set the os_ver parameter in the publican.cfg > > file of the product page or version page. > > Verified in 7.2.3. A space is missing within this paragraph after the period > that ends the first sentence and the beginning of the second one. Currently, > the PDF version renders as follows: > > "... directory of the product page or version page.By default, Publican > builds ..." That is one hell of a line edit, Misha. I have added the space between the period at the end of the sentence ending "page." and the beginning of the sentence beginning "By default,". It looks like this now: Publican builds an RPM package and places it in the /tmp/rpms/noarch/ directory of the product page or version page. By default, Publican builds the RPM package for the operating system within which you are running Publican. committed to f1ffc57..dc4d0f4 devel -> devel
Verified space between period and subsequent sentence in updated doc.
The fix for this bug has been shipped in publican 3.2.0