Upgrade package to version 4.1
add rdep-version patch to fix rdep error
This commit is contained in:
parent
ff061c4f13
commit
14917cbdc8
Binary file not shown.
BIN
django_compressor-4.1.tar.gz
Normal file
BIN
django_compressor-4.1.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-django-compressor
|
Name: python-django-compressor
|
||||||
Version: 2.4.1
|
Version: 4.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Compresses linked and inline JavaScript or CSS into single cached files.
|
Summary: Compresses linked and inline JavaScript or CSS into single cached files.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://django-compressor.readthedocs.io/en/latest/
|
URL: https://django-compressor.readthedocs.io/en/latest/
|
||||||
Source0: https://files.pythonhosted.org/packages/34/77/4352563ad70317ac021ba913c2f8cdb5b10cb35c70885d27f2c83cddff22/django_compressor-2.4.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/0d/77/14964c8e122cfd91bc4f30413f6850a42c08404118683080a1ccc2f10645/django_compressor-4.1.tar.gz
|
||||||
|
|
||||||
|
Patch0: rdep-version.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-django-appconf
|
Requires: python3-django-appconf
|
||||||
@ -40,7 +42,7 @@ It supports compilers such as coffeescript, LESS and SASS and is
|
|||||||
extensible by custom processing steps.
|
extensible by custom processing steps.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n django_compressor-%{version}
|
%autosetup -n django_compressor-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -60,6 +62,9 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 08 2022 chendexi <chendexi@kylinos.cn> - 4.1-1
|
||||||
|
- Upgrade package to version 4.1
|
||||||
|
|
||||||
* Sun Jul 24 2022 liksh <liks11@chinaunicom.com.cn> - 2.4.1-1
|
* Sun Jul 24 2022 liksh <liks11@chinaunicom.com.cn> - 2.4.1-1
|
||||||
- Upgrade to 2.4.1 for openstack yoga
|
- Upgrade to 2.4.1 for openstack yoga
|
||||||
|
|
||||||
|
|||||||
12
rdep-version.patch
Normal file
12
rdep-version.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- a/setup.py 2022-08-17 14:46:30.186903576 +0300
|
||||||
|
+++ b/setup.py 2022-08-17 14:46:42.507861281 +0300
|
||||||
|
@@ -149,7 +149,7 @@
|
||||||
|
zip_safe=False,
|
||||||
|
install_requires=[
|
||||||
|
'django-appconf >= 1.0.3',
|
||||||
|
- 'rcssmin == 1.1.0',
|
||||||
|
- 'rjsmin == 1.2.0',
|
||||||
|
+ 'rcssmin >= 1.1.0',
|
||||||
|
+ 'rjsmin >= 1.2.0',
|
||||||
|
],
|
||||||
|
)
|
||||||
Loading…
x
Reference in New Issue
Block a user