[python-falcon/f20] Update to 0.1.8

Jamie Lennox jamielennox at fedoraproject.org
Mon Mar 24 05:41:23 UTC 2014


commit 8859f2119b1349271eef9baa617ea1336dd648e5
Author: Jamie Lennox <jamielennox at redhat.com>
Date:   Fri Feb 28 15:17:34 2014 +1000

    Update to 0.1.8
    
    Removes the patches and has some changes to how tests are deployed.

 .gitignore                                         |    1 +
 ...ke-loading-description-python-independent.patch |   36 --------------------
 ...-Add-output-encoding-to-tests-for-Python3.patch |   29 ----------------
 python-falcon.spec                                 |   17 +++++----
 sources                                            |    2 +-
 5 files changed, 12 insertions(+), 73 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b06f467..3b93f0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /falcon-0.1.7.tar.gz
+/falcon-0.1.8.tar.gz
diff --git a/python-falcon.spec b/python-falcon.spec
index 9d1906a..602724c 100644
--- a/python-falcon.spec
+++ b/python-falcon.spec
@@ -3,7 +3,7 @@
 %endif
 
 Name:           python-falcon
-Version:        0.1.7
+Version:        0.1.8
 Release:        1%{?dist}
 Summary:        A supersonic micro-framework for building cloud APIs
 
@@ -11,8 +11,6 @@ License:        ASL 2.0
 Group:          Development/Libraries
 URL:            http://falconframework.org
 Source0:        https://pypi.python.org/packages/source/f/falcon/falcon-%{version}.tar.gz
-Patch0:         0001-Make-loading-description-python-independent.patch
-Patch1:         0002-Add-output-encoding-to-tests-for-Python3.patch
 
 Requires:       python-six
 Requires:       python-mimeparse
@@ -70,8 +68,6 @@ Features:
 
 %prep
 %setup -q -n falcon-%{version}
-%patch0 -p1
-%patch1 -p1
 
 %if 0%{?with_python3}
 rm -rf %{py3dir}
@@ -99,6 +95,10 @@ popd
 # don't package the benchmark test
 rm $RPM_BUILD_ROOT/%{_bindir}/falcon-bench
 
+# remove test files from site-packages
+rm -rf $RPM_BUILD_ROOT/%{python2_sitearch}/tests
+rm -rf $RPM_BUILD_ROOT/%{python3_sitearch}/tests
+
 %check
 %{__python2} setup.py test
 
@@ -109,18 +109,21 @@ popd
 %endif
 
 %files
-%doc AUTHORS CHANGES.md LICENSE NOTES.md README.rst
+%doc README.rst
 %{python2_sitearch}/falcon
 %{python2_sitearch}/falcon-%{version}-py?.?.egg-info
 
 %if 0%{?with_python3}
 %files -n python3-falcon
-%doc AUTHORS CHANGES.md LICENSE NOTES.md README.rst
+%doc README.rst
 %{python3_sitearch}/falcon
 %{python3_sitearch}/falcon-%{version}-py?.?.egg-info
 %endif
 
 %changelog
+* Thu Feb 27 2014 Jamie Lennox <jamielennox at redhat.com> - 0.1.8-1
+- Bump to 0.1.8
+
 * Mon Sep 23 2013 Jamie Lennox <jamielennox at redhat.com> - 0.1.7-1
 - Add Python 3 packaging details and patch to fix for Python 3.
 - Remove falcon-bench from package.
diff --git a/sources b/sources
index 8f81950..73502dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-25b335f6572df35252ff1137b37340b8  falcon-0.1.7.tar.gz
+82049bd4a6a3e2ec4bb7ea59955a2493  falcon-0.1.8.tar.gz


More information about the scm-commits mailing list