14
0
forked from pool/python-pycurl

Accepting request 142769 from devel:languages:python3

Removed openSUSE 11.4 spec file workarounds (forwarded request 142752 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142769
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=11
This commit is contained in:
Todd R
2012-11-25 11:10:46 +00:00
committed by Git OBS Bridge
parent 5f7d1e9d5b
commit aca97b1615
2 changed files with 6 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com
- Removed openSUSE 11.4 spec file workarounds
-------------------------------------------------------------------
Sat Apr 28 06:43:11 UTC 2012 - highwaystar.ru@gmail.com

View File

@@ -34,11 +34,7 @@ BuildRequires: libcurl-devel >= 7.19.0
BuildRequires: openssl-devel
BuildRequires: python3-2to3
BuildRequires: python3-devel
%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
%endif
Requires: python3 >= %{py3_ver}
Requires: python(abi) = %{py3_ver}
%description
This module provides bindings for the cURL library.