diff --git python-django-followit/python-django-followit.spec python-django-followit/python-django-followit.spec.tmp index af5f809d52..e34a631c6d 100644 --- python-django-followit/python-django-followit.spec +++ python-django-followit/python-django-followit.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{pkgname} Version: 0.0.3 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A django app that allows users to follow django model objects Group: Development/Libraries @@ -14,16 +14,23 @@ Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-% BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-django +%global _description\ +The django-followit django app allows to easily set up a\ +capability for the site users to follow various things on the site,\ +represented by django model objects.\ + + +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary +Requires: python-django Provides: %{pkgname} = %{version}-%{release} Obsoletes: %{pkgname} < 0.0.3-3 +%{?python_provide:%python_provide python2-%{pkgname}} -%description -The django-followit django app allows to easily set up a -capability for the site users to follow various things on the site, -represented by django model objects. - +%description -n python2-%{pkgname} %_description %prep %setup -q -n %{pkgname}-%{version} @@ -35,13 +42,17 @@ rm -rf django_%{mod_name}.egg-info %install %{__python} setup.py install --skip-build --root="$RPM_BUILD_ROOT" -%files +%files -n python2-%{pkgname} %{python_sitelib}/%{mod_name}/ %{python_sitelib}/*.egg-info/ %doc %{mod_name}/LICENSE PKG-INFO %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.0.3-14 +- Python 2 binary package renamed to python2-django-followit + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.0.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild