diff --git a/python-django-socialregistration.spec b/python-django-socialregistration.spec index e148c531de..7ffeec2eb7 100644 --- a/python-django-socialregistration.spec +++ b/python-django-socialregistration.spec @@ -1,6 +1,6 @@ Name: python-django-socialregistration Version: 0.5.10 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Django application enabling registration through a variety of APIs Group: Development/Languages @@ -16,6 +16,22 @@ BuildRequires: python-oauth2 BuildRequires: python-openid BuildRequires: python-setuptools + +%global _description\ +Django Social Registration enables developers to add alternative registration\ +methods based on third party sites.\ +\ +Supported methods currently are:\ +\ + OpenID\ + OAuth\ + Instagram\ + + +%description %_description + +%package -n python2-django-socialregistration +Summary: %summary %if 0%{?fedora} > 17 Requires: python-django %else @@ -23,17 +39,9 @@ Requires: Django %endif Requires: python-oauth2 Requires: python-openid +%{?python_provide:%python_provide python2-django-socialregistration} -%description -Django Social Registration enables developers to add alternative registration -methods based on third party sites. - -Supported methods currently are: - - OpenID - OAuth - Instagram - +%description -n python2-django-socialregistration %_description %prep %setup -q -n django-socialregistration-%{version} @@ -47,12 +55,16 @@ rm -rf django_socialregistration-%{version}*.egg-info rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-django-socialregistration %doc AUTHORS LICENSE README.rst %{python_sitelib}/socialregistration/ %{python_sitelib}/django_socialregistration-%{version}*.egg-info %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.5.10-9 +- Python 2 binary package renamed to python2-django-socialregistration + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild