diff --git python-offtrac/python-offtrac.spec python-offtrac/python-offtrac.spec.tmp index 288f681be5..72c6f54c0a 100644 --- python-offtrac/python-offtrac.spec +++ python-offtrac/python-offtrac.spec.tmp @@ -7,7 +7,7 @@ Name: python-offtrac Version: 0.1.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Trac xmlrpc library Group: Development/Languages @@ -22,10 +22,18 @@ BuildRequires: python-devel BuildRequires: python3-devel %endif -%description -There is the offtrac python library which offers the TracServer class. This -object is how one interacts with a Trac instance via xmlrpc. +%global _description\ +There is the offtrac python library which offers the TracServer class. This\ +object is how one interacts with a Trac instance via xmlrpc.\ + +%description %_description + +%package -n python2-offtrac +Summary: %summary +%{?python_provide:%python_provide python2-offtrac} + +%description -n python2-offtrac %_description %if 0%{?with_python3} %package -n python3-offtrac @@ -77,7 +85,7 @@ popd rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-offtrac %defattr(-,root,root,-) %doc COPYING LICENSE README # For noarch packages: sitelib @@ -94,6 +102,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.0-11 +- Python 2 binary package renamed to python2-offtrac + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild