diff --git python-hgapi/python-hgapi.spec python-hgapi/python-hgapi.spec.tmp index c16a796a7d..9be7d93780 100644 --- python-hgapi/python-hgapi.spec +++ python-hgapi/python-hgapi.spec.tmp @@ -1,6 +1,6 @@ Name: python-hgapi Version: 1.7.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python API to Mercurial using the command-line interface License: MIT @@ -13,16 +13,24 @@ Patch0: %{name}-%{version}-test_suite.patch BuildArch: noarch BuildRequires: python2-devel python-setuptools mercurial -Requires: mercurial - -%description -hgapi is a pure-Python API to Mercurial, that uses the command-line interface -instead of the internal Mercurial API. The rationale for this is twofold: the -internal API is unstable, and it is GPL. -hgapi works for all versions of Mercurial, and will instantly reflect any +%global _description\ +hgapi is a pure-Python API to Mercurial, that uses the command-line interface\ +instead of the internal Mercurial API. The rationale for this is twofold: the\ +internal API is unstable, and it is GPL.\ +\ +hgapi works for all versions of Mercurial, and will instantly reflect any\ changes to the repository (including hgrc). +%description %_description + +%package -n python2-hgapi +Summary: %summary +Requires: mercurial +%{?python_provide:%python_provide python2-hgapi} + +%description -n python2-hgapi %_description + %package -n python3-hgapi Summary: Python 3 API to Mercurial using the command-line interface BuildRequires: python3-devel python3-setuptools @@ -77,7 +85,7 @@ popd %{__python2} setup.py test -%files +%files -n python2-hgapi %doc README.rst LICENSE %{python2_sitelib}/hgapi-%{version}-py%{python2_version}.egg-info %{python2_sitelib}/hgapi/ @@ -88,6 +96,10 @@ popd %{python3_sitelib}/hgapi/ %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.7.2-9 +- Python 2 binary package renamed to python2-hgapi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.7.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild