Accepting request 142802 from devel:languages:python

Removed openSUSE 11.4 spec file workarounds (forwarded request 142743 from TheBlackCat) (forwarded request 142790 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blinker?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2012-11-28 13:32:39 +00:00 committed by Git OBS Bridge
commit b32d9cdfea
2 changed files with 6 additions and 16 deletions

View File

@ -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

View File

@ -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