python-six/python-six.spec

75 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-six
Version: 1.8.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: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
License: MIT
BuildRequires: libpython-devel
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.
%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 -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE README documentation/index.rst
%changelog
* 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