- Minimal cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
b47cf6039c
commit
ebf9f85a9f
@@ -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
|
||||
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user