diff --git python-flask-autoindex/python-flask-autoindex.spec python-flask-autoindex/python-flask-autoindex.spec.tmp index b32f96d01d..5174de3010 100644 --- python-flask-autoindex/python-flask-autoindex.spec +++ python-flask-autoindex/python-flask-autoindex.spec.tmp @@ -2,7 +2,7 @@ Name: python-flask-autoindex Version: 0.4.1 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A mod_autoindex for Flask Group: Development/Libraries License: BSD @@ -13,17 +13,25 @@ BuildRequires: python-devel BuildRequires: python-flask BuildRequires: python-flask-silk BuildRequires: python-setuptools -Requires: python-flask -Requires: python-flask-silk # https://github.com/sublee/flask-autoindex/issues/12 Patch0: %{name}-tests.patch -%description -Flask-AutoIndex generates an index page for your Flask application -automatically. The result just like mod_autoindex, but the look is +%global _description\ +Flask-AutoIndex generates an index page for your Flask application\ +automatically. The result just like mod_autoindex, but the look is\ more awesome! +%description %_description + +%package -n python2-flask-autoindex +Summary: %summary +Requires: python-flask-silk +Requires: python-flask +%{?python_provide:%python_provide python2-flask-autoindex} + +%description -n python2-flask-autoindex %_description + %prep %setup -q -n %{mod_name}-%{version} %patch0 -p1 @@ -41,7 +49,7 @@ sed -i 's|^\(from \)flaskext\.\(autoindex\)|\1\2|' \ build/lib/flaskext/autoindex/icons.py PYTHONPATH=$PWD/build/lib/flaskext:$PYTHONPATH python tests/__init__.py -%files +%files -n python2-flask-autoindex %doc LICENSE PKG-INFO README %{python_sitelib}/*-nspkg.pth %{python_sitelib}/*.egg-info/ @@ -49,6 +57,10 @@ PYTHONPATH=$PWD/build/lib/flaskext:$PYTHONPATH python tests/__init__.py %{python_sitelib}/flaskext/autoindex %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.4.1-16 +- Python 2 binary package renamed to python2-flask-autoindex + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild