[ 
https://issues.apache.org/jira/browse/XERCESC-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Cantor updated XERCESC-1506:
----------------------------------

    Attachment: xerces-c.spec.patch

Patch to correct problems with RPM spec file, including:

* fix for old Copyright line, which now breaks rpmbuild.
* identify C++ compiler using rpm macros
* define 64-bit build option for known archs
* set libdir for configure (needed for lib64 builds)
* comment out unneeded ln command
* move Xerces install from lib to lib64 if needed
* rationalize file sections to use proper macros

Works on CentOS 5 x86_64, will test further.

> SPEC file has obsolete tag: "Copyright"
> ---------------------------------------
>
>                 Key: XERCESC-1506
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1506
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.7.0
>         Environment: Fedora Core 4
>            Reporter: Michael Brown
>         Attachments: xerces-c.spec.patch
>
>
> Easy bug to fix: Change "Copyright" to "License"
> [EMAIL PROTECTED] build]$ rpmbuild --define "_topdir $PWD" -ba 
> ./SPECS/xerces-c.spec
> error: Legacy syntax is unsupported: copyright
> error: line 13: Unknown tag: Copyright: Apache
> [EMAIL PROTECTED] build]$

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to