adamwill pushed to python-cached_property (el6). "new release 1.2.0"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 30 00:26:55 UTC 2015


>From 06a47bf950a223a9357997ab457d5010a43f0350 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam at redhat.com>
Date: Wed, 29 Apr 2015 17:13:45 -0700
Subject: new release 1.2.0


diff --git a/.gitignore b/.gitignore
index 2d6c1ba..4214871 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /cached-property-2990020888089841314ad9dd4b0aa6f4d63c4d25.tar.gz
 /cached-property-9cb0121b22a39326247379c6650780bcdadff746.tar.gz
+/cached-property-164ba31a8306bb121f4bc76957f948f6db517f38.tar.gz
diff --git a/0001-drop-some-non-ASCII-characters-from-HISTORY.rst.patch b/0001-drop-some-non-ASCII-characters-from-HISTORY.rst.patch
new file mode 100644
index 0000000..43fe323
--- /dev/null
+++ b/0001-drop-some-non-ASCII-characters-from-HISTORY.rst.patch
@@ -0,0 +1,29 @@
+From c4e5adee3b9286dd837d5d1ce8a8e99e7658245d Mon Sep 17 00:00:00 2001
+From: Adam Williamson <awilliam at redhat.com>
+Date: Wed, 29 Apr 2015 16:54:14 -0700
+Subject: [PATCH] drop some non-ASCII characters from HISTORY.rst
+
+This file was using some odd unicode character instead of a
+normal apostrophe in a couple of places. Replace one occurrence
+with a normal apostrophe and remove the other (the possessive
+"its" does not contain an apostrophe).
+---
+ HISTORY.rst | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/HISTORY.rst b/HISTORY.rst
+index 9a610a1..8d0f44d 100644
+--- a/HISTORY.rst
++++ b/HISTORY.rst
+@@ -14,7 +14,7 @@ History
+ 1.1.0 (2015-04-04)
+ ++++++++++++++++++
+ 
+-* Regression: As the cache was not always clearing, we’ve broken out the time to expire feature to it’s own set of specific tools, thanks to @pydanny
++* Regression: As the cache was not always clearing, we've broken out the time to expire feature to its own set of specific tools, thanks to @pydanny
+ * Fixed typo in README, thanks to @zoidbergwill
+ 
+ 1.0.0 (2015-02-13)
+-- 
+2.3.6
+
diff --git a/python-cached_property.spec b/python-cached_property.spec
index 881574d..94cc0dd 100644
--- a/python-cached_property.spec
+++ b/python-cached_property.spec
@@ -16,16 +16,19 @@
 
 %global projectname cached-property
 %global modulename cached_property
-%global commit 9cb0121b22a39326247379c6650780bcdadff746
+%global commit 164ba31a8306bb121f4bc76957f948f6db517f38
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
 
 Name:           python-%{modulename}
-Version:        1.1.0
+Version:        1.2.0
 Release:        1%{?dist}
 Summary:        A cached-property for decorating methods in Python classes
 License:        BSD
 URL:            https://github.com/pydanny/%{projectname}
 Source0:        https://github.com/pydanny/%{projectname}/archive/%{commit}/%{projectname}-%{commit}.tar.gz
+# https://github.com/pydanny/cached-property/pull/20
+# Without this, the py3 build fails with a unicode decode error
+Patch0:         0001-drop-some-non-ASCII-characters-from-HISTORY.rst.patch
 
 BuildArch:      noarch
 Provides:       python2-%{modulename}
@@ -60,6 +63,7 @@ is invalidated or expired.
 
 %prep
 %setup -q -n %{projectname}-%{commit}
+%patch0 -p1 -b .utf-8
 
 %if 0%{?with_python3}
 rm -rf %{py3dir}
@@ -106,6 +110,10 @@ tox --sitepackages --skip-missing-interpreters
 %endif # with_python3
 
 %changelog
+* Wed Apr 29 2015 Adam Williamson <awilliam at redhat.com> - 1.2.0-1
+- new upstream release 1.2.0 (refactoring, bug fixes)
+- patch out non-ASCII characters in HISTORY.rst (breaks py3 build in koji)
+
 * Thu Apr 16 2015 Adam Williamson <awilliam at redhat.com> - 1.1.0-1
 - new upstream release 1.1.0 (insignificant changes)
 
diff --git a/sources b/sources
index 8c40948..b396dcb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e937004d74129c67b7c5a3f397c68de7  cached-property-9cb0121b22a39326247379c6650780bcdadff746.tar.gz
+09947a4275e71a8058bc4bf049e9bd0f  cached-property-164ba31a8306bb121f4bc76957f948f6db517f38.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-cached_property.git/commit/?h=el6&id=06a47bf950a223a9357997ab457d5010a43f0350


More information about the scm-commits mailing list