added python3 subpackage [release 1.9.0-2mamba;Sat May 16 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 16:40:38 +01:00
parent 901fd4a32c
commit 735fdca349

View File

@ -1,6 +1,6 @@
Name: python-six
Version: 1.9.0
Release: 1mamba
Release: 2mamba
Summary: Python 2 and 3 compatibility utilities
Group: System/Libraries
Vendor: openmamba
@ -9,6 +9,8 @@ Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://packages.python.org/six/
Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
BuildArch: noarch
@ -18,6 +20,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
Six is a Python 2 and 3 compatibility library.
It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n six-%{version}
@ -35,11 +41,14 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE README documentation/index.rst
%changelog
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-2mamba
- added python3 subpackage
* Fri Jan 09 2015 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
- automatic version update by autodist