diff --git python-oauth/python-oauth.spec python-oauth/python-oauth.spec.tmp index a542a70f8e..b72794c646 100644 --- python-oauth/python-oauth.spec +++ python-oauth/python-oauth.spec.tmp @@ -2,7 +2,7 @@ Name: python-oauth Version: 1.0.1 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Library for OAuth version 1.0a Group: Development/Languages @@ -14,10 +14,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel python-setuptools -%description -Library for OAuth version 1.0a. +%global _description\ +Library for OAuth version 1.0a.\ +%description %_description + +%package -n python2-oauth +Summary: %summary +%{?python_provide:%python_provide python2-oauth} + +%description -n python2-oauth %_description + %prep %setup -q -n oauth-%{version} @@ -35,13 +43,17 @@ python setup.py install --skip-build --root $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-oauth %defattr(-,root,root,-) %doc LICENSE.txt %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.1-15 +- Python 2 binary package renamed to python2-oauth + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild