From 28537a18de81324f3ce713cf2352a8943c01a86fdabac73e03d48f724e39020c Mon Sep 17 00:00:00 2001 From: Todd R Date: Sun, 25 Nov 2012 11:22:09 +0000 Subject: [PATCH] Accepting request 142808 from devel:languages:python3 Removed openSUSE 11.4 spec file workarounds (forwarded request 142803 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142808 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=18 --- python3-pip.changes | 5 +++++ python3-pip.spec | 10 +--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/python3-pip.changes b/python3-pip.changes index 50d5706..7f31652 100644 --- a/python3-pip.changes +++ b/python3-pip.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com + +- Removed openSUSE 11.4 spec file workarounds + ------------------------------------------------------------------- Sat Sep 8 22:31:31 UTC 2012 - os-dev@jacraig.com diff --git a/python3-pip.spec b/python3-pip.spec index 288f068..f6fabe8 100644 --- a/python3-pip.spec +++ b/python3-pip.spec @@ -29,16 +29,8 @@ BuildRequires: python3 BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute -%if 0%{?suse_version} <= 1140 -%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?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)} -%ifarch x86_64 -# to allow ownership of noarch python directories -BuildRequires: python3-32bit -%endif -%endif BuildArch: noarch -Requires: python3 >= %{py3_ver} +Requires: python(abi) = %{py3_ver} Requires: python3-distribute %description