python-six/python-six.spec

109 lines
3.6 KiB
RPMSpec
Raw Normal View History

Name: python-six
Version: 1.15.0
Release: 1mamba
Summary: Python 2 and 3 compatibility utilities
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://packages.python.org/six/
Source: https://pypi.debian.net/six/six-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
BuildRequires: libpython3-devel >= 3.7.4
Requires: python >= %python_version
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE documentation/index.rst
%changelog
* Mon May 25 2020 Automatic Build System <autodist@mambasoft.it> 1.15.0-1mamba
- automatic version update by autodist
* Sat Jan 25 2020 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 1.13.0-1mamba
- automatic version update by autodist
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-2mamba
- rebuilt with python3 3.7.4
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
- update to 1.12.0
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
- automatic version update by autodist
* Sun Oct 11 2015 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* 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
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Tue Jul 01 2014 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
- automatic version update by autodist
* Mon Jun 09 2014 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Sat Mar 15 2014 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Mon Jan 13 2014 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
- automatic version update by autodist
* Tue Jan 07 2014 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
- automatic version update by autodist
* Wed Sep 04 2013 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- python 2.7 mass rebuild
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Fri Sep 07 2012 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Wed Dec 21 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.1.0-1mamba
- package created by autospec