diff --git python-sqlparse/python-sqlparse.spec python-sqlparse/python-sqlparse.spec.tmp index 3d2a6afbd3..7d73efc71f 100644 --- python-sqlparse/python-sqlparse.spec +++ python-sqlparse/python-sqlparse.spec.tmp @@ -13,7 +13,7 @@ Name: python-%{shortname} Version: 0.2.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Non-validating SQL parser for Python Group: Development/Languages @@ -44,12 +44,20 @@ BuildRequires: python3-pytest-cov %endif # with_python3 %endif # with_tests -%description -sqlparse is a tool for parsing SQL strings. It can generate pretty-printed -renderings of SQL in various formats. - +%global _description\ +sqlparse is a tool for parsing SQL strings. It can generate pretty-printed\ +renderings of SQL in various formats.\ +\ It is a python module, together with a command-line tool. +%description %_description + +%package -n python2-%{shortname} +Summary: %summary +%{?python_provide:%python_provide python2-%{shortname}} + +%description -n python2-%{shortname} %_description + %if %{with python3} %package -n python3-%{shortname} Summary: Non-validating SQL parser for Python @@ -102,7 +110,7 @@ popd %endif # with_tests -%files +%files -n python2-%{shortname} %license LICENSE %doc AUTHORS CHANGELOG README.rst %{python2_sitelib}/* @@ -117,6 +125,10 @@ popd %{_bindir}/sqlformat %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.2-4 +- Python 2 binary package renamed to python2-sqlparse + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild