diff --git a/python-django-dynamite.spec b/python-django-dynamite.spec index 36fd7a6973..7773620b72 100644 --- a/python-django-dynamite.spec +++ b/python-django-dynamite.spec @@ -2,7 +2,7 @@ Name: python-django-dynamite Version: 0.4.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Dynamic models framework Group: Development/Languages @@ -15,28 +15,42 @@ BuildRequires: python2-devel BuildRequires: python-setuptools %if 0%{?fedora} >= 18 -Requires: python-django-south BuildRequires: python-django-south %else -Requires: Django-south BuildRequires: Django-south %endif %if 0%{?fedora} >= 18 -Requires: python-django BuildRequires: python-django %else -Requires: Django BuildRequires: Django %endif -%description -This package provides a module to create dynamic models -in django and use it in view and admin interface. Thx to -`Will Hardy`_ for this fantastic paper `Runtime Dynamic +%global _description\ +This package provides a module to create dynamic models\ +in django and use it in view and admin interface. Thx to\ +`Will Hardy`_ for this fantastic paper `Runtime Dynamic\ Models Documentation` +%description %_description + +%package -n python2-django-dynamite +Summary: %summary +%if 0%{?fedora} >= 18 +Requires: python-django-south +%else +Requires: Django-south +%endif +%if 0%{?fedora} >= 18 +Requires: python-django +%else +Requires: Django +%endif +%{?python_provide:%python_provide python2-django-dynamite} + +%description -n python2-django-dynamite %_description + %prep %setup -q -n %{pkgname}-%{version} rm -rf %{pkgname}.egg-info @@ -50,12 +64,16 @@ python setup.py install --skip-build --root %{buildroot} %check python setup.py test -%files +%files -n python2-django-dynamite %doc %{python_sitelib}/dynamite %{python_sitelib}/django_dynamite-%{version}-py?.?.egg-info %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.4.1-14 +- Python 2 binary package renamed to python2-django-dynamite + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild