diff --git python-django-profiles/python-django-profiles.spec python-django-profiles/python-django-profiles.spec.tmp index 8e5e21327f..8a1576e8da 100644 --- python-django-profiles/python-django-profiles.spec +++ python-django-profiles/python-django-profiles.spec.tmp @@ -2,7 +2,7 @@ %global obs_ver 0.2-3 Name: python-django-profiles Version: 0.2 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A fairly simple user-profile management application for Django License: BSD @@ -15,19 +15,26 @@ Source0: django-profiles.tar.bz2 BuildArch: noarch BuildRequires: python2-devel -Requires: python-django - -Provides: %{pkgname} = %{version}-%{release} -Obsoletes: %{pkgname} < %{obs_ver} -%description -A fairly simple user-profile management application for -Django, designed to make the management of site-specific user -profiles as painless as possible. It requires a functional -installation of Django 1.0 or newer and provides a useful complement +%global _description\ +A fairly simple user-profile management application for\ +Django, designed to make the management of site-specific user\ +profiles as painless as possible. It requires a functional\ +installation of Django 1.0 or newer and provides a useful complement\ to `django-registration`, but has no other dependencies. +%description %_description + +%package -n python2-django-profiles +Summary: %summary +Obsoletes: %{pkgname} < %{obs_ver} +Provides: %{pkgname} = %{version}-%{release} +Requires: python-django +%{?python_provide:%python_provide python2-django-profiles} + +%description -n python2-django-profiles %_description + %prep %setup -q -n ubernostrum-django-profiles-daac18511394 @@ -40,7 +47,7 @@ to `django-registration`, but has no other dependencies. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-django-profiles %doc CHANGELOG.txt README.txt LICENSE.txt docs/* %{python_sitelib}/profiles %{python_sitelib}/django_profiles* @@ -48,6 +55,10 @@ to `django-registration`, but has no other dependencies. %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.2-15 +- Python 2 binary package renamed to python2-django-profiles + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild