rpms/PyXML/F-11 PyXML.spec,1.37,1.38

Roman Rakus rrakus at fedoraproject.org
Mon Nov 2 14:40:39 UTC 2009


Author: rrakus

Update of /cvs/extras/rpms/PyXML/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv457

Modified Files:
	PyXML.spec 
Log Message:
Use system expat library


Index: PyXML.spec
===================================================================
RCS file: /cvs/extras/rpms/PyXML/F-11/PyXML.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- PyXML.spec	30 Oct 2009 15:00:44 -0000	1.37
+++ PyXML.spec	2 Nov 2009 14:40:36 -0000	1.38
@@ -1,19 +1,18 @@
 Summary: XML libraries for python
 Name: PyXML
 Version: 0.8.4
-Release: 15%{?dist}
+Release: 16%{?dist}
 Source: http://prdownloads.sourceforge.net/pyxml/PyXML-%{version}.tar.gz
 Patch0: PyXML-0.7.1-intern.patch
 Patch1: PyXML-0.8.4-cvs20041111-python2.4-backport.patch
 Patch2: PyXML-memmove.patch
 Patch3: PyXML-0.8.4-python2.6.patch
-Patch4: PyXML-0.8.4-buffer-over-read.patch
 
 License: MIT and Python and ZPLv1.0 and BSD
 Group: Development/Libraries
 Requires: python
 URL: http://pyxml.sourceforge.net/
-BuildRequires: python python-devel
+BuildRequires: python python-devel expat-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
 
 # Must have setuptools to build the package
@@ -44,10 +43,12 @@ programming interfaces and an interface 
 %patch1 -p1 -b .python2.4-backport
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1 -b .buffer_over_read
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build  --with-xslt
+# build PyXML with system expat
+# Make sure we don't use local one
+rm -rf extensions/expat
+CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build  --with-xslt --with-libexpat=%{_usr}
 
 %install
 rm -fr $RPM_BUILD_ROOT
@@ -65,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/python?.?/site-packages/_xmlplus
 
 %changelog
+* Mon Nov 02 2009 Roman Rakus <rrakus at redhat.com> - 0.8.4-16
+- Use system expat library
+
 * Fri Oct 30 2009 Roman Rakus <rrakus at redhat.com> - 0.8.4-15
 - Fix buffer over read
 




More information about the fedora-extras-commits mailing list