diff --git python-PyGithub/python-PyGithub.spec python-PyGithub/python-PyGithub.spec.tmp index 4efd8f4d86..46e54c2e83 100644 --- python-PyGithub/python-PyGithub.spec +++ python-PyGithub/python-PyGithub.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 1.29 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python library to work with the Github API Group: Development/Languages @@ -15,17 +15,24 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools -Obsoletes: python-github < 1.11.1-4 -Provides: python-github - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools %endif # if with_python3 -%description +%global _description\ A Python library implementing the full Github API v3. +%description %_description + +%package -n python2-pygithub +Summary: %summary +Obsoletes: python-github < 1.11.1-4 +Provides: python-github +%{?python_provide:%python_provide python2-pygithub} + +%description -n python2-pygithub %_description + %if 0%{?with_python3} %package -n python3-PyGithub Summary: Python library to work with the Github API @@ -76,7 +83,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-pygithub %{license} COPYING COPYING.LESSER %doc README.md %{python_sitelib}/* @@ -91,6 +98,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.29-5 +- Python 2 binary package renamed to python2-pygithub + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild