forked from pool/python-blinker
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user