[python-flask-whooshee] Update to flask-whooshee 0.0.6.

Bohuslav Kabrda bkabrda at fedoraproject.org
Wed Dec 18 11:12:42 UTC 2013


commit e7b4de16b4bdca455809bd415773bb04a91f5a6c
Author: Slavek Kabrda <bkabrda at redhat.com>
Date:   Wed Dec 18 12:12:43 2013 +0100

    Update to flask-whooshee 0.0.6.
    
    - Drop py3 compat patch, since it's now upstream.
    - Use buildroot macro consistently.

 .gitignore                 |    1 +
 0002-port-to-python3.patch |  101 --------------------------------------------
 python-flask-whooshee.spec |   16 ++++---
 sources                    |    2 +-
 4 files changed, 11 insertions(+), 109 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9c9abda..1934e62 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /flask-whooshee-0.0.5.tar.gz
+/flask-whooshee-0.0.6.tar.gz
diff --git a/python-flask-whooshee.spec b/python-flask-whooshee.spec
index 83cbe4c..e035c34 100644
--- a/python-flask-whooshee.spec
+++ b/python-flask-whooshee.spec
@@ -2,8 +2,8 @@
 %global with_python3 1
 
 Name:           python-flask-whooshee
-Version:        0.0.5
-Release:        4%{?dist}
+Version:        0.0.6
+Release:        1%{?dist}
 Summary:        Whoosh integration
 
 License:        GPLv2+
@@ -11,8 +11,6 @@ URL:            https://github.com/bkabrda/flask-whooshee
 Source0:        https://pypi.python.org/packages/source/f/%{mod_name}/%{mod_name}-%{version}.tar.gz
 # Adds test_suite line into setup.py
 Patch1:         0001-add-tests-to-setup.patch
-# Make flask-whooshee compatible with python3, patch sent to upstream
-Patch2:         0002-port-to-python3.patch
 BuildArch:      noarch
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
@@ -55,7 +53,6 @@ Whoosh integration that allows to create and search custom indexes.
 %prep
 %setup -q -n %{mod_name}-%{version}
 %patch1
-%patch2 -p1
 %if 0%{?with_python3}
 rm -rf %{py3dir}
 cp -a . %{py3dir}
@@ -80,11 +77,11 @@ popd
 %endif
 
 %install
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 %if 0%{?with_python3}
 pushd %{py3dir}
-%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
+%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
 popd
 %endif
 
@@ -103,6 +100,11 @@ popd
 
 
 %changelog
+* Wed Dec 18 2013 Bohuslav Kabrda <bkabrda at redhat.com> - 0.0.6-1
+- Update to flask-whooshee 0.0.6.
+- Drop py3 compat patch, since it's now upstream.
+- Use buildroot macro consistently.
+
 * Fri Oct 04 2013 Robert Kuska <rkuska at redhat.com> 0.0.5-4
 - Add python3 subpackage
 
diff --git a/sources b/sources
index 333c736..8ad225f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed526115c1caebcac92f61e2d424b882  flask-whooshee-0.0.5.tar.gz
+950e6a0ceffb06570c80da546eada95e  flask-whooshee-0.0.6.tar.gz


More information about the scm-commits mailing list