diff --git python-django-compressor/python-django-compressor.spec python-django-compressor/python-django-compressor.spec.tmp index a5d46dcfd3..6da03bbca0 100644 --- python-django-compressor/python-django-compressor.spec +++ python-django-compressor/python-django-compressor.spec.tmp @@ -12,7 +12,7 @@ Name: python-django-compressor Version: 2.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Compresses linked and inline JavaScript or CSS into single cached files License: MIT @@ -24,19 +24,26 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools +%global _description\ +Django Compressor combines and compresses linked and inline Javascript\ +or CSS in a Django templates into cacheable static files by using the\ +``compress`` template tag. HTML in between\ +``{% compress js/css %}`` and ``{% endcompress %}`` is\ +parsed and searched for CSS or JS. These styles and scripts are subsequently\ +processed with optional, configurable compilers and filters. + +%description %_description + +%package -n python2-django-compressor +Summary: %summary Requires: python-django-appconf >= 1.0 Requires: python-versiontools Requires: python-django Requires: python2-rjsmin Requires: python2-rcssmin +%{?python_provide:%python_provide python2-django-compressor} -%description -Django Compressor combines and compresses linked and inline Javascript -or CSS in a Django templates into cacheable static files by using the -``compress`` template tag. HTML in between -``{% compress js/css %}`` and ``{% endcompress %}`` is -parsed and searched for CSS or JS. These styles and scripts are subsequently -processed with optional, configurable compilers and filters. +%description -n python2-django-compressor %_description %if 0%{?with_python3} %package -n python3-django-compressor @@ -80,7 +87,7 @@ processed with optional, configurable compilers and filters. -%files +%files -n python2-django-compressor %doc README.rst %license LICENSE %{python2_sitelib}/compressor @@ -95,6 +102,10 @@ processed with optional, configurable compilers and filters. %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.1-5 +- Python 2 binary package renamed to python2-django-compressor + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild