From c8f4792dc03f7ef95fa67ce9733afc3cdce057e1eddc2a6c2a1f505a85199ca9 Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 14 Jul 2015 13:10:16 +0000 Subject: [PATCH] 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 --- python-pyOpenSSL.changes | 5 +++++ python-pyOpenSSL.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) 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