diff --git a/python-django-compressor.spec b/python-django-compressor.spec index aaf2f40f5900bec0d4c33fdf5ebd03e1c370831a..fd9e90e13c8e33ce16d8bb0efe84081ebdf4b315 100644 --- a/python-django-compressor.spec +++ b/python-django-compressor.spec @@ -1,11 +1,13 @@ Summary: Compresses linked and inline JavaScript or CSS into single cached files Name: python-django-compressor -Version: 2.4 -Release: 4%{?dist} +Version: 4.4 +Release: 1%{?dist} License: MIT URL: https://django-compressor.readthedocs.io/en/latest/ Source0: https://github.com/django-compressor/django-compressor/archive/refs/tags/%{version}.tar.gz +Patch3000: rdep-version.patch + Requires: python3-django-appconf python3-rcssmin python3-rjsmin python3-six BuildArch: noarch @@ -23,7 +25,7 @@ BuildRequires: python3-devel python3-setuptools Compresses linked and inline JavaScript or CSS into a single cached file. %prep -%autosetup -n django-compressor-%{version} +%autosetup -n django-compressor-%{version} -p1 %build %py3_build @@ -38,6 +40,9 @@ cp -arf docs %{buildroot}/%{_pkgdocdir} %{_docdir}/* %changelog +* Mon Sep 25 2023 Xiaojie Chen - 4.4-1 +- Upgrade to upstream version 4.4 + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 2.4-4 - Rebuilt for python 3.11 diff --git a/rdep-version.patch b/rdep-version.patch new file mode 100644 index 0000000000000000000000000000000000000000..cbbae668516ef53219dbcc855e11b5fa5adc3a02 --- /dev/null +++ b/rdep-version.patch @@ -0,0 +1,17 @@ +diff --git a/setup.py b/setup.py +index fb62876..f2aaf13 100644 +--- a/setup.py ++++ b/setup.py +@@ -164,7 +164,7 @@ setup( + zip_safe=False, + install_requires=[ + "django-appconf >= 1.0.3", +- "rcssmin == 1.1.1", +- "rjsmin == 1.2.1", ++ "rcssmin >= 1.1.1", ++ "rjsmin >= 1.2.1", + ], + ) +-- +2.41.0 + diff --git a/sources b/sources index 1c4f60e9020edcf5c6d3aca471a49ba83070c284..3d81b2708f63170c6decf4e78333710bf3dd11f2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (2.4.tar.gz) = 27deebe5d4a8be8842da48d0a11ac34e2e58689159d0542476c486bd5f3a2f13ee8a6e1d9ec04d64c05f968e80b87a2673bcd4bfffe748c553be61db8b67034c +SHA512 (4.4.tar.gz) = 4fb0fcb1f11d73a724d4d3161b4964f9b4a5bf6ec674d198756ad262d9983528a605aadde6bb10ef2054e477ac08fbc0397242e8969f47d3710bec6f21215086