diff --git python-gerrit-view/python-gerrit-view.spec python-gerrit-view/python-gerrit-view.spec.tmp index 320f11fad4..679e0e447d 100644 --- python-gerrit-view/python-gerrit-view.spec +++ python-gerrit-view/python-gerrit-view.spec.tmp @@ -10,7 +10,7 @@ Name: python-gerrit-view Version: 0.3.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A set of tools to query/view Gerrit patch reviews and their Zuul status License: ASL 2.0 @@ -24,6 +24,18 @@ BuildRequires: python2-devel BuildRequires: python-urwid BuildRequires: python-requests +%global _description\ +A set of tools to query/view Gerrit patch reviews and their status.\ +Current set of tools: (1) qgerrit -- to query different projects' Gerrit\ +reviews based on a set of criteria/filters; (2) cgerrit -- to view (in\ +real time) Gerrit reviews on CLI; (3) czuul -- to view Gerrit reviews'\ +Zuul (a pipeline oriented project gating and automation system) status\ +on CLI. + +%description %_description + +%package -n python2-gerrit-view +Summary: %summary Requires: python-gerritlib Requires: python-requests Requires: python-six @@ -31,14 +43,9 @@ Requires: python-prettytable Requires: python-urwid Requires: python-paramiko Requires: GitPython +%{?python_provide:%python_provide python2-gerrit-view} -%description -A set of tools to query/view Gerrit patch reviews and their status. -Current set of tools: (1) qgerrit -- to query different projects' Gerrit -reviews based on a set of criteria/filters; (2) cgerrit -- to view (in -real time) Gerrit reviews on CLI; (3) czuul -- to view Gerrit reviews' -Zuul (a pipeline oriented project gating and automation system) status -on CLI. +%description -n python2-gerrit-view %_description %prep %setup -q -n %{pypi_name}-%{version} @@ -52,12 +59,16 @@ rm -rf gerrit_view.egg-info %install %{__python2} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-gerrit-view %doc README.rst %{_bindir}/* %{python2_sitelib}/gerrit_view-%{version}* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3.2-7 +- Python 2 binary package renamed to python2-gerrit-view + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild