diff --git python-anyvc/python-anyvc.spec python-anyvc/python-anyvc.spec.tmp index 3a25c4d94b..b814208861 100644 --- python-anyvc/python-anyvc.spec +++ python-anyvc/python-anyvc.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.3.7.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python library to access different version control system Group: Development/Languages @@ -22,14 +22,21 @@ BuildRequires: python-execnet #BuildRequires: python-sphinx BuildRequires: python-hgdistver +%global _description\ +Anyvc is an abstraction library for different kind of version control\ +systems. Although primarily a library, there is a command line tool (vc)\ +to use with it. + +%description %_description + +%package -n python2-%{srcname} +Summary: %summary Requires: python-subvertpy Requires: mercurial Requires: python-dulwich +%{?python_provide:%python_provide python2-%{srcname}} -%description -Anyvc is an abstraction library for different kind of version control -systems. Although primarily a library, there is a command line tool (vc) -to use with it. +%description -n python2-%{srcname} %_description %prep %setup -q -n %{srcname}-%{version} @@ -48,13 +55,17 @@ rm -rf %{srcname}.egg-info %check %{__python} setup.py test -%files +%files -n python2-%{srcname} #%doc html/ %{_bindir}/vc %{python_sitelib}/%{srcname}/ %{python_sitelib}/%{srcname}*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3.7.1-11 +- Python 2 binary package renamed to python2-anyvc + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.7.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild