Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: $xml_lang/icons/icons.svg file misplaced when packaging translated 
books

https://bugzilla.redhat.com/show_bug.cgi?id=732608

           Summary: $xml_lang/icons/icons.svg file misplaced when
                    packaging translated books
           Product: Publican
           Version: 2.6
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: publican
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]
    Classification: Other
      Story Points: ---
              Type: ---


Description of problem:
When I package a book that has an $xml_lang/icons/icons.svg file but no
$xml_lang/images/icons.svg file, the $xml_lang/icons/ directory gets copied to
the root directory of the book. Building a binary RPM then works only if
Publican still has access to the $xml_lang/icons/icons.svg file. 

This is a problem when building translated books from Publican-generated SRPMs,
because Publican no longer has access to the original $xml_lang/ directory.

Version-Release number of selected component (if applicable):
2.6-3.fc15

How reproducible:
100%

Steps to Reproduce:
1. Create a book with an $xml_lang/icons/icons.svg file but no
$xml_lang/images/icons.svg file
2. Set up a translated language with update_pot and update_po
3. Generate an SRPM in the translated language with publican package
4. Unpack the SRPM and attempt to generate a binary RPM with publican package
--binary

Actual results:
Packaging fails with: 

cp: cannot stat `ru-RU/images/icon.svg': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.WqpFkF (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.WqpFkF (%install)
/usr/bin/rpmbuild exited with value 1
 at /usr/bin/publican line 885


Expected results:
Packaging succeeds

Additional info:

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
publican-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to