devel/PyXML PyXML.spec,1.28,1.29
Florian La Roche (laroche)
fedora-extras-commits at redhat.com
Wed Nov 14 19:13:22 UTC 2007
- Previous message (by thread): rpms/smstools/devel smsd.init, NONE, 1.1 smsd.logrotate, NONE, 1.1 smstools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/linuxwacom/devel linuxwacom.spec,1.46,1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: laroche
Update of /cvs/extras/devel/PyXML
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24303
Modified Files:
PyXML.spec
Log Message:
- change build
Index: PyXML.spec
===================================================================
RCS file: /cvs/extras/devel/PyXML/PyXML.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- PyXML.spec 24 Aug 2007 11:03:40 -0000 1.28
+++ PyXML.spec 14 Nov 2007 19:12:50 -0000 1.29
@@ -1,7 +1,7 @@
Summary: XML libraries for python.
Name: PyXML
Version: 0.8.4
-Release: 7
+Release: 8
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
@@ -13,6 +13,22 @@
BuildRequires: python python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
+# Must have setuptools to build the package
+# The build portions moved to a subpackage in F-8
+%if 0%{?fedora} >= 8
+BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
+
+# Must have setuptools to build the package
+# The build portions moved to a subpackage in F-8
+%if 0%{?fedora} >= 8
+BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
+
%description
An XML package for Python. The distribution contains a
validating XML parser, an implementation of the SAX and DOM
@@ -26,25 +42,27 @@
%patch2 -p1
%build
-CFLAGS="$RPM_OPT_FLAGS" python setup.py build --with-xslt
+CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build --with-xslt
%install
rm -fr $RPM_BUILD_ROOT
-python setup.py install --root=$RPM_BUILD_ROOT --with-xslt
-
+python -c 'import setuptools; execfile("setup.py")' install --skip-build --root=$RPM_BUILD_ROOT --with-xslt
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root)
%doc LICENCE ANNOUNCE CREDITS README README.dom README.pyexpat README.sgmlop TODO doc/*
%{_bindir}/xmlproc_parse
%{_bindir}/xmlproc_val
-%{_libdir}/python?.?/site-packages/_xmlplus/
+%{python_sitearch}/*egg-info
+%{python_sitearch}/_xmlplus
%changelog
+* Fri Nov 02 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.8.4-8
+- Modify package so that it produces Python Eggs.
+
* Tue Aug 21 2007 Florian La Roche <laroche at redhat.com> - 0.8.4-7
- rebuild
- Previous message (by thread): rpms/smstools/devel smsd.init, NONE, 1.1 smsd.logrotate, NONE, 1.1 smstools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/linuxwacom/devel linuxwacom.spec,1.46,1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list