diff --git python-flask-silk/python-flask-silk.spec python-flask-silk/python-flask-silk.spec.tmp index 1e7559e8d1..bf2629abc0 100644 --- python-flask-silk/python-flask-silk.spec +++ python-flask-silk/python-flask-silk.spec.tmp @@ -2,7 +2,7 @@ Name: python-flask-silk Version: 0.1.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Adds silk icons to your Flask application or module, or extension Group: Development/Libraries License: BSD and CC-BY-SA @@ -12,11 +12,19 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-flask BuildRequires: python-setuptools -Requires: python-flask -%description +%global _description\ Adds silk icons to your Flask application or module, or extension. +%description %_description + +%package -n python2-flask-silk +Summary: %summary +Requires: python-flask +%{?python_provide:%python_provide python2-flask-silk} + +%description -n python2-flask-silk %_description + %prep %setup -q -n %{mod_name}-%{version} # avoid issues due to flaskext added to PYTHONPATH by the time test.py is run @@ -31,13 +39,17 @@ sed -i 's|^\(from \)flaskext\.\(silk\)|\1\2|' test.py %check PYTHONPATH=$PWD/build/lib/flaskext:$PYTHONPATH python test.py -%files +%files -n python2-flask-silk %doc LICENSE PKG-INFO README %{python_sitelib}/*-nspkg.pth %{python_sitelib}/*.egg-info/ %{python_sitelib}/flaskext/silk %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.1.2-10 +- Python 2 binary package renamed to python2-flask-silk + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild