From ebf9f85a9f73eb129f291e251155c873fe761f622b7ea70dd66e4c85f0830858 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 14 Jan 2013 10:19:11 +0000 Subject: [PATCH] - Minimal cleanup OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=2 --- python-cssselect.changes | 5 +++++ python-cssselect.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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}