diff --git a/python-cssselect.changes b/python-cssselect.changes index 6475787..ecc781d 100644 --- a/python-cssselect.changes +++ b/python-cssselect.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 14 10:17:27 UTC 2013 - saschpe@suse.de + +- Minimal cleanup + ------------------------------------------------------------------- Tue Jan 8 20:42:17 UTC 2013 - iacobcatalin@gmail.com diff --git a/python-cssselect.spec b/python-cssselect.spec index 886d851..e759308 100644 --- a/python-cssselect.spec +++ b/python-cssselect.spec @@ -27,7 +27,6 @@ BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %else BuildArch: noarch %endif @@ -42,10 +41,10 @@ extracted as a stand-alone project. %prep %setup -q -n cssselect-%{version} +sed -i '/#!\/usr\/bin\/env python/d' cssselect/tests.py %build CFLAGS="%{optflags}" python setup.py build -sed -i '/#!\/usr\/bin\/env python/d' cssselect/tests.py %install python setup.py install --prefix=%{_prefix} --root=%{buildroot}