Python 2 binary package renamed to python2-django-compressor
This commit is contained in:
parent
369ca20c42
commit
e72f52978c
1 changed files with 20 additions and 9 deletions
|
|
@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue