%global mod_name flask-whooshee Name: python-flask-whooshee Version: 0.0.5 Release: 2%{?dist} Summary: Whoosh integration License: GPLv2+ 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: python-flask-whooshee-0.0.5-test.patch BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools # Test build requires BuildRequires: python-whoosh BuildRequires: python-flask BuildRequires: python-flask-sqlalchemy BuildRequires: python-blinker Requires: python-flask-sqlalchemy Requires: python-whoosh Requires: python-blinker Requires: python-flask %description Whoosh integration that allows to create and search custom indexes. %prep %setup -q -n %{mod_name}-%{version} %patch1 %build %{__python} setup.py build %check %{__python} setup.py test %install %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files %doc LICENSE README.md %{python_sitelib}/flask_whooshee.py* %{python_sitelib}/*.egg-info %changelog * Thu Apr 11 2013 Robert Kuska 0.0.5-2 - Review fixes * Wed Apr 10 2013 Robert Kuska 0.0.5-1 - Initial package