Make compressor work with django-1.8
This commit is contained in:
parent
ba004aa5b1
commit
cf9cb06670
4 changed files with 270 additions and 3 deletions
|
|
@ -2,17 +2,30 @@
|
|||
|
||||
Name: python-django-compressor
|
||||
Version: 1.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Compresses linked and inline JavaScript or CSS into single cached files
|
||||
|
||||
License: MIT
|
||||
URL: http://pypi.python.org/pypi/django_compressor/%{version}
|
||||
Source0: http://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
|
||||
# All patches are directly connected to Django-1.8
|
||||
#
|
||||
# cherry-pick from upstream
|
||||
# https://github.com/django-compressor/django-compressor/commit/c8495264b503a595fbc89e6c8a83a402eff445c6.patch
|
||||
Patch0001: django-compressor-use-get_template.patch
|
||||
# cherry-pick from upstream
|
||||
# https://github.com/django-compressor/django-compressor/commit/ac70fbfb7f8349e5c1150f40bf1d21ba635d0cb8.patch
|
||||
Patch0002: django-compressor-fix-attributeerror-in-offline.patch
|
||||
# cherry-pick from upstream
|
||||
# https://github.com/django-compressor/django-compressor/commit/72b33ddbcdc41eb5af42b86329d81d96894a9d10.patch
|
||||
Patch0003: django-compressor-make-compress-run-through.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
|
||||
Requires: python-django-appconf >= 0.4
|
||||
Requires: python-versiontools
|
||||
|
||||
|
|
@ -33,6 +46,10 @@ processed with optional, configurable compilers and filters.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{pypi_name}-%{version}
|
||||
%patch0001 -p1
|
||||
%patch0002 -p1
|
||||
%patch0003 -p1
|
||||
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
|
|
@ -59,6 +76,9 @@ rm -rf %{pypi_name}.egg-info
|
|||
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
|
||||
%changelog
|
||||
* Wed Apr 15 2015 Matthias Runge <mrunge@redhat.com> - 1.4-2
|
||||
- make compress command work on django-1.8
|
||||
|
||||
* Mon May 26 2014 Matthias Runge <mrunge@redhat.com> - 1.4-1
|
||||
- update to 1.4 (rhbz#1100732)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue