rpms/python-lxml/EL-4 python-lxml.spec,1.19,1.20

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Fri Jul 25 16:03:16 UTC 2008


Author: jcollie

Update of /cvs/pkgs/rpms/python-lxml/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9392

Modified Files:
	python-lxml.spec 
Log Message:
Use setup.py directly.


Index: python-lxml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-lxml/EL-4/python-lxml.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- python-lxml.spec	25 Jul 2008 15:54:33 -0000	1.19
+++ python-lxml.spec	25 Jul 2008 16:02:46 -0000	1.20
@@ -29,11 +29,11 @@
 chmod a-x doc/rest2html.py
 
 %build
-CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
+CFLAGS="%{optflags}" %{__python} setup.py build
 
 %install
 rm -rf %{buildroot}
-%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
 
 %clean
 rm -rf %{buildroot}




More information about the fedora-extras-commits mailing list