Update to 1.5.2 (rhbz#1048819)

This commit is contained in:
Matthias Runge 2014-03-07 10:35:01 +01:00
parent 9c7b81693d
commit b4fc744d2d
3 changed files with 7 additions and 10 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/six-1.2.0.tar.gz /six-1.2.0.tar.gz
/six-1.3.0.tar.gz /six-1.3.0.tar.gz
/six-1.4.1.tar.gz /six-1.4.1.tar.gz
/six-1.5.2.tar.gz

View File

@ -9,7 +9,7 @@
%endif %endif
Name: python-six Name: python-six
Version: 1.4.1 Version: 1.5.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: Python 2 and 3 compatibility utilities Summary: Python 2 and 3 compatibility utilities
@ -17,10 +17,9 @@ Group: Development/Languages
License: MIT License: MIT
URL: http://pypi.python.org/pypi/six/ URL: http://pypi.python.org/pypi/six/
Source0: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz Source0: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel BuildRequires: python2-devel
# For use by selftests: # For use by selftests:
BuildRequires: pytest BuildRequires: pytest
BuildRequires: tkinter BuildRequires: tkinter
@ -66,7 +65,6 @@ popd
%endif %endif
%install %install
rm -rf $RPM_BUILD_ROOT
%if 0%{?with_python3} %if 0%{?with_python3}
pushd %{py3dir} pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
@ -75,9 +73,6 @@ popd
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%check %check
py.test -rfsxX test_six.py py.test -rfsxX test_six.py
%if 0%{?with_python3} %if 0%{?with_python3}
@ -88,19 +83,20 @@ popd
%files %files
%defattr(-,root,root,-)
%doc LICENSE README documentation/index.rst %doc LICENSE README documentation/index.rst
%{python_sitelib}/* %{python_sitelib}/*
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-six %files -n python3-six
%defattr(-,root,root,-)
%doc LICENSE README documentation/index.rst %doc LICENSE README documentation/index.rst
%{python3_sitelib}/* %{python3_sitelib}/*
%endif %endif
%changelog %changelog
* Fri Mar 07 2014 Matthias Runge <mrunge@redhat.com> - 1.5.2-1
- upgrade to 1.5.2 (rhbz#1048819)
* Mon Sep 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.4.1-1 * Mon Sep 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.4.1-1
- 1.4.1 - 1.4.1

View File

@ -1 +1 @@
bdbb9e12d3336c198695aa4cf3a61d62 six-1.4.1.tar.gz 322b86d0c50a7d165c05600154cecc0a six-1.5.2.tar.gz