diff --git python-dumptruck/python-dumptruck.spec python-dumptruck/python-dumptruck.spec.tmp index 049286208e..7b487df9c9 100644 --- python-dumptruck/python-dumptruck.spec +++ python-dumptruck/python-dumptruck.spec.tmp @@ -1,6 +1,6 @@ Name: python-dumptruck Version: 0.1.6 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Relaxing interface to SQLite License: MIT @@ -10,10 +10,18 @@ Source0: https://pypi.python.org/packages/source/d/dumptruck/dumptruck-%{ BuildArch: noarch BuildRequires: python2-devel -%description -DumpTruck is a document-like interface to a SQLite database. +%global _description\ +DumpTruck is a document-like interface to a SQLite database.\ +%description %_description + +%package -n python2-dumptruck +Summary: %summary +%{?python_provide:%python_provide python2-dumptruck} + +%description -n python2-dumptruck %_description + %prep %setup -q -n dumptruck-%{version} find -name '*.py' |xargs sed '/^#!/d' -i @@ -27,12 +35,16 @@ find -name '*.py' |xargs sed '/^#!/d' -i %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-dumptruck %{python2_sitelib}/* %doc README.txt %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.1.6-9 +- Python 2 binary package renamed to python2-dumptruck + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild