14
0

Accepting request 142783 from devel:languages:python3

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

OBS-URL: https://build.opensuse.org/request/show/142783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=23
This commit is contained in:
Todd R
2012-11-25 11:12:46 +00:00
committed by Git OBS Bridge
parent 061cc9a0ed
commit 993180577a
2 changed files with 6 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 22 14:18:55 UTC 2012 - toddrme2178@gmail.com
- Removed openSUSE 11.4 spec file workarounds
-------------------------------------------------------------------
Thu Sep 6 13:05:51 UTC 2012 - toddrme2178@gmail.com

View File

@@ -32,12 +32,8 @@ BuildRequires: python3-distribute
%if 0%{?suse_version}
BuildRequires: fdupes
%endif
%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)}
%endif
BuildArch: noarch
Requires: python3 >= %{py3_ver}
Requires: python(abi) = %{py3_ver}
Requires: python3-distribute
@@ -75,9 +71,5 @@ chmod +x %{buildroot}%{python3_sitelib}/%{modname}/*/*.py
%doc README demos
%{python3_sitelib}/%{modname}
%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info
%if 0%{?suse_version} <= 1140
%dir %{_prefix}/lib/python%{py3_ver}
%dir %{python3_sitelib}
%endif
%changelog