diff --git python-django-mptt/python-django-mptt.spec python-django-mptt/python-django-mptt.spec.tmp index f95e68f869..bc15c4a193 100644 --- python-django-mptt/python-django-mptt.spec +++ python-django-mptt/python-django-mptt.spec.tmp @@ -9,7 +9,7 @@ Summary: Utilities for implementing Modified Preorder Tree Traversal Name: python-django-mptt Version: 0.8.6 -Release: 4%{?dist} +Release: 5%{?dist} License: MIT Group: Development/Libraries URL: http://github.com/django-mptt/django-mptt @@ -29,17 +29,23 @@ BuildRequires: python-django BuildRequires: python3-django %endif -Requires: python-django -Provides: %{pkgname} = %{version}-%{release} -Obsoletes: %{pkgname} < %{obs_ver} +%global _description\ +Utilities for implementing Modified Preorder Tree Traversal (MPTT)\ +with your Django Model classes and working with trees of Model instances.\ -%description -Utilities for implementing Modified Preorder Tree Traversal (MPTT) -with your Django Model classes and working with trees of Model instances. +%description %_description +%package -n python2-django-mptt +Summary: %summary +Requires: python-django +Provides: %{pkgname} = %{version}-%{release} +Obsoletes: %{pkgname} < %{obs_ver} +%{?python_provide:%python_provide python2-django-mptt} + +%description -n python2-django-mptt %_description %if 0%{?with_python3} %package -n python3-django-mptt @@ -108,7 +114,7 @@ popd %endif # with_python3 -%files -f django.lang +%files -n python2-django-mptt -f django.lang %doc README.rst NOTES %license LICENSE %{python_sitelib}/django_mptt-%{version}-py2.*.egg-info @@ -134,6 +140,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.8.6-5 +- Python 2 binary package renamed to python2-django-mptt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild