Accepting request 316634 from home:TheBlackCat:branches:devel:languages:python

Fix building on SLES 11

OBS-URL: https://build.opensuse.org/request/show/316634
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=32
This commit is contained in:
Todd R 2015-07-14 13:10:16 +00:00 committed by Git OBS Bridge
parent a5c1b2258e
commit c8f4792dc0
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 14 13:07:00 UTC 2015 - toddrme2178@gmail.com
- Fix building on SLES 11
-------------------------------------------------------------------
Wed Apr 22 09:50:09 UTC 2015 - mcihar@suse.cz

View File

@ -26,20 +26,18 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
Patch0: bug-lp-1265482.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: python-Sphinx
BuildRequires: python-cryptography >= 0.2
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-cryptography >= 0.2
Provides: pyOpenSSL = %{version}
Provides: python-openssl = %{version}
Obsoletes: python-openssl < %{version}
%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()")}
%else
BuildArch: noarch
%endif
%description