On 08/06/2010 01:30 AM, Douglas Silas wrote:
Hi,

Trying to package the latest RHEL5 DG (after bumping the pubsnumber) on brew with this command:

publican package --brew --lang=es-ES

<snip>


The relevant error message there seems to be:

Invalid format for release. Value (ARRAY(0xd12e2f0)) does not conform to constraint ([^0-9.]) at /usr/bin/publican line 514

I'm note sure whether it's the cause of the error you're seeing, but note that the pubsnumber only governs the release number for packages in the language in which the XML is authored (in this case, en-US). The release number for packages in translated packages is governed by the "Project-Id-Version" parameter in the Book_Info.po file for that language. For example, if this is release 42 of the Spanish translation of the book, set:

"Project-Id-Version: 42\n"

in the es-ES/Book_Info.po file.

I wonder whether you're seeing that error because you have something other than numerals or a dot in the "Project-Id-Version" parameter for the Spanish version of the DG?

A few weeks ago, I realized this information was missing from the Publican User Guide; it's in there for the next release (2.2, out soon).

Cheers
Rudi

_______________________________________________
publican-list mailing list
publican-list@redhat.com
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to