forked from pool/python-Beaker
Accepting request 142414 from devel:languages:python
Remove openSUSE 11.4 spec file workarounds (forwarded request 142412 from TheBlackCat) (forwarded request 142413 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142414 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 09:39:27 UTC 2012 - toddrme2178@gmail.com
|
||||
|
||||
- Remove openSUSE 11.4 spec file workarounds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 22 20:26:45 UTC 2012 - os-dev@jacraig.com
|
||||
|
||||
|
||||
@@ -29,12 +29,6 @@ BuildRequires: python3
|
||||
BuildRequires: python3-2to3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-distribute
|
||||
%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)}
|
||||
%else
|
||||
BuildRequires: python3-base
|
||||
%endif
|
||||
Requires: python(abi) = %{py3_ver}
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -84,8 +78,5 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%doc CHANGELOG LICENSE
|
||||
%{python3_sitelib}/beaker/
|
||||
%{python3_sitelib}/Beaker-%{version}-py%{py3_ver}.egg-info
|
||||
%if 0%{?suse_version} <= 1140
|
||||
%dir %{_prefix}/lib/python%{py3_ver}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user