diff --git python-gertty/python-gertty.spec python-gertty/python-gertty.spec.tmp index ddd952a2c9..78067231ab 100644 --- python-gertty/python-gertty.spec +++ python-gertty/python-gertty.spec.tmp @@ -10,7 +10,7 @@ Name: python-gertty Version: 1.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Gertty is a console-based interface to the Gerrit Code Review system License: ASL 2.0 @@ -25,34 +25,41 @@ BuildRequires: python2-devel BuildRequires: python-requests BuildRequires: python-pbr -Requires: python-pbr -Requires: python-urwid -Requires: python-sqlalchemy -Requires: GitPython -Requires: python-dateutil -Requires: python-requests -Requires: python-alembic -Requires: PyYAML -Requires: python-voluptuous -Requires: python-ply -Requires: python-six - -%description -Gertty is a console-based interface to the Gerrit Code Review system. As -compared to the web interface, the main advantages are: (a) Work flow -- the -interface is designed to support a work flow similar to reading network news or -mail. In particular, it is designed to deal with a large number of review -requests across a large number of projects. (b) Offline Use -- Gertty syncs -information about changes in subscribed projects to a local database and local -git repositories. All review operations are performed against that database -and then synced back to Gerrit. (c) Speed -- user actions modify locally -cached content and need not wait for server interaction. (d) Convenience -- -because Gertty downloads all changes to local git repositories, a single -command instructs it to checkout a change into that repositories for detailed +%global _description\ +Gertty is a console-based interface to the Gerrit Code Review system. As\ +compared to the web interface, the main advantages are: (a) Work flow -- the\ +interface is designed to support a work flow similar to reading network news or\ +mail. In particular, it is designed to deal with a large number of review\ +requests across a large number of projects. (b) Offline Use -- Gertty syncs\ +information about changes in subscribed projects to a local database and local\ +git repositories. All review operations are performed against that database\ +and then synced back to Gerrit. (c) Speed -- user actions modify locally\ +cached content and need not wait for server interaction. (d) Convenience --\ +because Gertty downloads all changes to local git repositories, a single\ +command instructs it to checkout a change into that repositories for detailed\ examination or testing of larger changes. +%description %_description + +%package -n python2-gertty +Summary: %summary +Requires: python-six +Requires: python-ply +Requires: python-voluptuous +Requires: PyYAML +Requires: python-alembic +Requires: python-requests +Requires: python-dateutil +Requires: GitPython +Requires: python-sqlalchemy +Requires: python-urwid +Requires: python-pbr +%{?python_provide:%python_provide python2-gertty} + +%description -n python2-gertty %_description + %prep %setup -q -n %{pypi_name}-%{version} %patch0 -p1 -b . @@ -72,7 +79,7 @@ sed -i 's/\r$//' LICENSE %install %{__python2} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-gertty %doc README.rst LICENSE CONTRIBUTING.rst %doc %{_datadir}/%{pypi_name}/examples/* %{_bindir}/* @@ -81,6 +88,10 @@ sed -i 's/\r$//' LICENSE %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.4.0-4 +- Python 2 binary package renamed to python2-gertty + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild