diff --git python-django-sekizai/python-django-sekizai.spec python-django-sekizai/python-django-sekizai.spec.tmp index a959529711..25482d482b 100644 --- python-django-sekizai/python-django-sekizai.spec +++ python-django-sekizai/python-django-sekizai.spec.tmp @@ -13,7 +13,7 @@ Name: python-%{pkgname} Version: 0.8.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Django Template Blocks with extra functionality Group: Development/Libraries License: BSD @@ -32,18 +32,25 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -Requires: python-django-classy-tags >= 0.3.1 +%global _description\ +Sekizai means “blocks” in Japanese, and that’s what this app provides.\ +A fresh look at blocks. With django-sekizai you can define placeholders\ +where your blocks get rendered and at different places in your templates\ +append to those blocks. This is especially useful for css and javascript.\ +Your sub-templates can now define css and Javascript files to be included,\ +and the css will be nicely put at the top and the Javascript to the bottom,\ +just like you should. Also sekizai will ignore any duplicate content\ +in a single block. + +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary Provides: %{pkgname} = %{version}-%{release} +Requires: python-django-classy-tags >= 0.3.1 +%{?python_provide:%python_provide python2-%{pkgname}} -%description -Sekizai means “blocks” in Japanese, and that’s what this app provides. -A fresh look at blocks. With django-sekizai you can define placeholders -where your blocks get rendered and at different places in your templates -append to those blocks. This is especially useful for css and javascript. -Your sub-templates can now define css and Javascript files to be included, -and the css will be nicely put at the top and the Javascript to the bottom, -just like you should. Also sekizai will ignore any duplicate content -in a single block. +%description -n python2-%{pkgname} %_description %package doc Summary: Documentation for %{pkgname} @@ -130,7 +137,7 @@ grep %{python3_sitelib} %{pkgname}.files > python3-%{pkgname}.files %endif -%files +%files -n python2-%{pkgname} %doc LICENSE README.rst %dir %{python2_sitelib}/sekizai %{python2_sitelib}/sekizai/*.py @@ -178,6 +185,10 @@ grep %{python3_sitelib} %{pkgname}.files > python3-%{pkgname}.files %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.8.1-10 +- Python 2 binary package renamed to python2-django-sekizai + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.8.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild