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}