From c25f65d829c01f948ddfcf7eacf9ebf1eb4b3d82 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 25 Jul 2008 16:02:46 +0000 Subject: [PATCH] Use setup.py directly. --- python-lxml.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-lxml.spec b/python-lxml.spec index da7d371..af5e8fa 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -29,11 +29,11 @@ unlike the default bindings. 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}