diff --git a/python-pyOpenSSL.changes b/python-pyOpenSSL.changes index 01a4ead..3fd84a4 100644 --- a/python-pyOpenSSL.changes +++ b/python-pyOpenSSL.changes @@ -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 diff --git a/python-pyOpenSSL.spec b/python-pyOpenSSL.spec index a5b5c1c..45a0d63 100644 --- a/python-pyOpenSSL.spec +++ b/python-pyOpenSSL.spec @@ -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