diff --git python-flask-whooshalchemy/python-flask-whooshalchemy.spec python-flask-whooshalchemy/python-flask-whooshalchemy.spec.tmp index b0fdfd51a8..19a8cbdcf7 100644 --- python-flask-whooshalchemy/python-flask-whooshalchemy.spec +++ python-flask-whooshalchemy/python-flask-whooshalchemy.spec.tmp @@ -4,7 +4,7 @@ Name: python-flask-whooshalchemy Version: 0.6 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Whoosh extension to Flask/SQLAlchemy Group: Development/Libraries @@ -20,17 +20,25 @@ BuildRequires: python-sqlalchemy BuildRequires: python-flask-sqlalchemy BuildRequires: python-whoosh BuildRequires: python-blinker + + +%global _description\ +Flask-WhooshAlchemy is a Flask extension that integrates the text-search\ +functionality of Whoosh with the ORM of SQLAlchemy for use in Flask\ +applications. + +%description %_description + +%package -n python2-flask-whooshalchemy +Summary: %summary Requires: python-flask Requires: python-sqlalchemy Requires: python-flask-sqlalchemy Requires: python-whoosh Requires: python-blinker +%{?python_provide:%python_provide python2-flask-whooshalchemy} - -%description -Flask-WhooshAlchemy is a Flask extension that integrates the text-search -functionality of Whoosh with the ORM of SQLAlchemy for use in Flask -applications. +%description -n python2-flask-whooshalchemy %_description %prep # Delete upstream supplied egg-info @@ -51,12 +59,16 @@ sed -i -e "s/Whoosh==2.6.0/Whoosh>=2.5.7/" requirements.txt %install %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-flask-whooshalchemy %{python2_sitelib}/flask_whooshalchemy.py* %{python2_sitelib}/Flask_WhooshAlchemy-*.egg-info/ %doc doc/ README.rst LICENSE.txt %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.6-12 +- Python 2 binary package renamed to python2-flask-whooshalchemy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild