diff --git a/pkgwat.spec b/pkgwat.spec index b7f693ad1a..ee2f3f0daa 100644 --- a/pkgwat.spec +++ b/pkgwat.spec @@ -13,7 +13,7 @@ Name: pkgwat Version: 0.11 -Release: 7%{?dist} +Release: 8%{?dist} Summary: CLI tool for querying the fedora packages webapp Group: Development/Libraries @@ -32,16 +32,26 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif +%global _description\ +Pronounced "package WAT", pkgwat is a fast CLI tool for querying the fedora\ +packages webapp. https://apps.fedoraproject.org/packages/\ +\ +You can make its search even better by helping us tag packages.\ +https://apps.fedoraproject.org/tagger + +%description %_description + +%package -n python2-pkgwat +Summary: %summary Requires: python-pkgwat-api Requires: python-cliff Requires: python-fabulous +%{?python_provide:%python_provide python2-pkgwat} +# Remove before F30 +Provides: pkgwat = %{version}-%{release} +Obsoletes: pkgwat < %{version}-%{release} -%description -Pronounced "package WAT", pkgwat is a fast CLI tool for querying the fedora -packages webapp. https://apps.fedoraproject.org/packages/ - -You can make its search even better by helping us tag packages. -https://apps.fedoraproject.org/tagger +%description -n python2-pkgwat %_description %if 0%{?with_python3} %package -n python3-pkgwat @@ -92,7 +102,7 @@ popd %{__python2} setup.py install -O1 --skip-build --root=%{buildroot} -%files +%files -n python2-pkgwat %doc README.rst LICENSE %{python2_sitelib}/pkgwat/cli %{python2_sitelib}/%{modname}-%{version}* @@ -108,6 +118,10 @@ popd %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.11-8 +- Python 2 binary package renamed to python2-pkgwat + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Mon Jul 31 2017 Kevin Fenzi - 0.11-7 - Enable python3 now. Fixes bug #1472362