diff --git python-nitrate/python-nitrate.spec python-nitrate/python-nitrate.spec.tmp index 2449c563b3..551955ee20 100644 --- python-nitrate/python-nitrate.spec +++ python-nitrate/python-nitrate.spec.tmp @@ -1,6 +1,6 @@ Name: python-nitrate Version: 1.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python API for the Nitrate test case management system Group: Development/Languages @@ -11,15 +11,23 @@ Source0: http://psss.fedorapeople.org/python-nitrate/%{name}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: python-devel -Requires: python-kerberos python-psycopg2 -%description -python-nitrate is a Python interface to the Nitrate test case -management system. The package consists of a high-level Python -module (provides natural object interface), a low-level driver -(allows to directly access Nitrate's XMLRPC API) and a command +%global _description\ +python-nitrate is a Python interface to the Nitrate test case\ +management system. The package consists of a high-level Python\ +module (provides natural object interface), a low-level driver\ +(allows to directly access Nitrate's XMLRPC API) and a command\ line interpreter (useful for fast debugging and experimenting). +%description %_description + +%package -n python2-nitrate +Summary: %summary +Requires: python-kerberos python-psycopg2 +%{?python_provide:%python_provide python2-nitrate} + +%description -n python2-nitrate %_description + %prep %setup -q @@ -33,13 +41,17 @@ install -pm 755 source/nitrate %{buildroot}%{_bindir} install -pm 644 source/*.py %{buildroot}%{python_sitelib}/nitrate install -pm 644 docs/*.1.gz %{buildroot}%{_mandir}/man1 -%files +%files -n python2-nitrate %{_mandir}/man1/* %{_bindir}/nitrate %{python_sitelib}/* %doc COPYING README examples %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.3-6 +- Python 2 binary package renamed to python2-nitrate + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild