From 9cd6054cd8ea086fc2782404f0f14cf845da9b79f0d755dd327331ab8e0caa6a Mon Sep 17 00:00:00 2001 From: Todd R Date: Sun, 25 Nov 2012 11:13:44 +0000 Subject: [PATCH] Accepting request 142790 from devel:languages:python3 Removed openSUSE 11.4 spec file workarounds (forwarded request 142743 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142790 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=7 --- python3-blinker.changes | 5 +++++ python3-blinker.spec | 17 +---------------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/python3-blinker.changes b/python3-blinker.changes index c60e50b..7c702e2 100644 --- a/python3-blinker.changes +++ b/python3-blinker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 13:40:47 UTC 2012 - toddrme2178@gmail.com + +- Remove openSUSE 11.4 spec file workarounds + ------------------------------------------------------------------- Wed Aug 15 02:59:44 UTC 2012 - highwaystar.ru@gmail.com diff --git a/python3-blinker.spec b/python3-blinker.spec index 64fd962..7f82461 100644 --- a/python3-blinker.spec +++ b/python3-blinker.spec @@ -28,19 +28,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel BuildRequires: python3-nose BuildRequires: unzip - -%if 0%{?suse_version} && 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)} -%endif Requires: python(abi) = %{py3_ver} -%if 0%{?suse_version} && 0%{?suse_version} > 1140 -BuildRequires: python3-base -%endif - -%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} -BuildArchitectures: noarch -%endif +BuildArch: noarch %description Blinker provides a fast dispatching system that allows any number of @@ -66,9 +55,5 @@ nosetests-%{py3_ver} %doc AUTHORS CHANGES LICENSE README docs/html %{python3_sitelib}/blinker/ %{python3_sitelib}/blinker-%{version}-py%{py3_ver}.egg-info -%if 0%{?suse_version} <= 1140 -%dir %{_prefix}/lib/python%{py3_ver} -%dir %{python3_sitelib} -%endif %changelog