[python-six] Update to 1.5.2 (rhbz#1048819)

Matthias Runge mrunge at fedoraproject.org
Fri Mar 7 09:35:34 UTC 2014


commit b4fc744d2def5a93ffb48f09015cbe55c7f80f6e
Author: Matthias Runge <mrunge at redhat.com>
Date:   Fri Mar 7 10:35:01 2014 +0100

    Update to 1.5.2 (rhbz#1048819)

 .gitignore      |    1 +
 python-six.spec |   14 +++++---------
 sources         |    2 +-
 3 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0c2e98d..3a9f10a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /six-1.2.0.tar.gz
 /six-1.3.0.tar.gz
 /six-1.4.1.tar.gz
+/six-1.5.2.tar.gz
diff --git a/python-six.spec b/python-six.spec
index 4b6095d..d5ff6af 100644
--- a/python-six.spec
+++ b/python-six.spec
@@ -9,7 +9,7 @@
 %endif
 
 Name:           python-six
-Version:        1.4.1
+Version:        1.5.2
 Release:        1%{?dist}
 Summary:        Python 2 and 3 compatibility utilities
 
@@ -17,10 +17,9 @@ Group:          Development/Languages
 License:        MIT
 URL:            http://pypi.python.org/pypi/six/
 Source0:        http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 # For use by selftests:
 BuildRequires:  pytest
 BuildRequires:  tkinter
@@ -66,7 +65,6 @@ popd
 %endif
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__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
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
 py.test -rfsxX test_six.py
 %if 0%{?with_python3}
@@ -88,19 +83,20 @@ popd
 
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE README documentation/index.rst
 %{python_sitelib}/*
 
 %if 0%{?with_python3}
 %files -n python3-six
-%defattr(-,root,root,-)
 %doc LICENSE README documentation/index.rst
 %{python3_sitelib}/*
 %endif
 
 
 %changelog
+* Fri Mar 07 2014 Matthias Runge <mrunge at redhat.com> - 1.5.2-1
+- upgrade to 1.5.2 (rhbz#1048819)
+
 * Mon Sep 16 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 1.4.1-1
 - 1.4.1
 
diff --git a/sources b/sources
index b391814..d3790df 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bdbb9e12d3336c198695aa4cf3a61d62  six-1.4.1.tar.gz
+322b86d0c50a7d165c05600154cecc0a  six-1.5.2.tar.gz


More information about the scm-commits mailing list