Updating xalan-c to 1.11

This commit is contained in:
Nick Le Mouton 2013-10-09 13:50:11 +13:00
parent 1651242912
commit 6b48b2c376
2 changed files with 9 additions and 12 deletions

View File

@ -1 +1,2 @@
0a3fbb535885531cc544b07a2060bfb1 Xalan-C_1_10_0-src.tar.gz
9227d3e7ab375da3c643934b33a585b8 xalan_c-1.11-src.tar.gz

View File

@ -1,16 +1,12 @@
Name: xalan-c
Version: 1.10.0
Release: 14%{?dist}
Version: 1.11.0
Release: 1%{?dist}
Summary: Xalan XSLT processor for C
Group: System Environment/Libraries
License: ASL 2.0
URL: http://xml.apache.org/xalan-c/
Source0: http://www.apache.org/dist/xml/xalan-c/Xalan-C_1_10_0-src.tar.gz
Patch0: xalan-c-1.10.0-escaping.patch
Patch1: xalan-c-1.10.0-gcc43.patch
# http://bugs.gentoo.org/attachment.cgi?id=169168
Patch2: xalan-c-1.10.0-new-xerces-c.patch
Source0: http://www.us.apache.org/dist/xalan/xalan-c/sources/xalan_c-1.11-src.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xerces-c-devel
@ -44,10 +40,7 @@ Documentation for %{name}.
%prep
%setup -q -n xml-xalan/c
%patch0 -p2 -b .escaping
%patch1 -p2 -b .gcc43
%patch2 -p0 -b .new-xerces-c
%setup -q -n xalan-c-1.11/c
find -type d -name CVS -print0 | xargs -0 rm -rf
chmod 644 NOTICE
@ -55,7 +48,7 @@ chmod 644 NOTICE
%build
export XALANCROOT="${PWD}"
export XERCESROOT=%{_includedir}/xercesc/
COMMONARGS="-plinux -cgcc -xg++ -minmem -rpthreads"
COMMONARGS="-plinux -cgcc -xg++ -minmem"
%ifarch alpha ppc64 s390x sparc64 x86_64
./runConfigure ${COMMONARGS} -b64 -P %{_prefix} -C --libdir="%{_libdir}" -z '%{optflags}'
%else
@ -99,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Oct 08 2013 Nick Le Mouton <nick@noodles.net.nz> - 1.11.0-1
- Rebuilt for xalan-c 1.11, fixes a few problems with using newer xerces-c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild