Accepting request 142455 from devel:languages:python
Removed openSUSE 11.4 spec file workarounds (forwarded request 142453 from TheBlackCat) (forwarded request 142454 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142455 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-six?expand=0&rev=4
This commit is contained in:
commit
27997f4092
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 22 14:18:55 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Removed openSUSE 11.4 spec file workarounds
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 12 03:01:59 UTC 2012 - os-dev@jacraig.com
|
Wed Sep 12 03:01:59 UTC 2012 - os-dev@jacraig.com
|
||||||
|
|
||||||
|
@ -26,15 +26,10 @@ License: MIT
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python3
|
|
||||||
BuildRequires: python3-2to3
|
BuildRequires: python3-2to3
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version} <= 1140
|
Requires: python(abi) = %{py3_ver}
|
||||||
%{!?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: python3 >= %{py3_ver}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Six is a Python 2 and 3 compatibility library. It provides utility
|
Six is a Python 2 and 3 compatibility library. It provides utility
|
||||||
@ -58,9 +53,5 @@ rm -rf %{buildroot}%{python3_sitelib}/__pycache__/
|
|||||||
%doc LICENSE README
|
%doc LICENSE README
|
||||||
%{python3_sitelib}/%{modname}.py*
|
%{python3_sitelib}/%{modname}.py*
|
||||||
%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info
|
%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info
|
||||||
%if 0%{?suse_version} <= 1140
|
|
||||||
%dir %{python3_sitelib}
|
|
||||||
%dir %{_prefix}/lib/python%{py3_ver}/
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user