From 77a683e45db78fee0108d8de64ab87ae6fa79e77daeff412f5abe245750aa99b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Dec 2023 13:26:37 +0000 Subject: [PATCH] Accepting request 1132478 from openSUSE:infrastructure:mailman3 - Adds patch python-django-compressor-rcssmin-and-rjsmin-versions.patch * Make sure newer versions of rcssmin and rjsmin can be used OBS-URL: https://build.opensuse.org/request/show/1132478 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-compressor?expand=0&rev=28 --- ...ngo-compressor-rcssmin-and-rjsmin-versions.patch | 13 +++++++++++++ python-django-compressor.changes | 6 ++++++ python-django-compressor.spec | 4 +++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 python-django-compressor-rcssmin-and-rjsmin-versions.patch diff --git a/python-django-compressor-rcssmin-and-rjsmin-versions.patch b/python-django-compressor-rcssmin-and-rjsmin-versions.patch new file mode 100644 index 0000000..1228a9b --- /dev/null +++ b/python-django-compressor-rcssmin-and-rjsmin-versions.patch @@ -0,0 +1,13 @@ +diff -ruN a/setup.py b/setup.py +--- a/setup.py 2023-06-28 00:11:30.000000000 +0200 ++++ b/setup.py 2023-12-11 13:19:34.154446612 +0100 +@@ -164,7 +164,7 @@ + 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", + ], + ) diff --git a/python-django-compressor.changes b/python-django-compressor.changes index 077a071..edfef2d 100644 --- a/python-django-compressor.changes +++ b/python-django-compressor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 11 12:30:39 UTC 2023 - Jacob Michalskie + +- Adds patch python-django-compressor-rcssmin-and-rjsmin-versions.patch + * Make sure newer versions of rcssmin and rjsmin can be used + ------------------------------------------------------------------- Tue Jul 18 08:25:44 UTC 2023 - Markéta Machová diff --git a/python-django-compressor.spec b/python-django-compressor.spec index 8b66de2..462597b 100644 --- a/python-django-compressor.spec +++ b/python-django-compressor.spec @@ -26,7 +26,9 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT URL: https://github.com/django-compressor/django-compressor Source: https://files.pythonhosted.org/packages/source/d/%{mod_name}/%{mod_name}-%{version}.tar.gz #PATCH-FIX-UPSTREAM https://github.com/django-compressor/django-compressor/pull/1196 Add LazyScriptNamePrefixedUrl.lstrip to fix tests -Patch: lstrip.patch +Patch0: lstrip.patch +#PATCH-FIX-UPSTREAM https://github.com/django-compressor/django-compressor/pull/1205 Update rcssmin +Patch1: python-django-compressor-rcssmin-and-rjsmin-versions.patch BuildRequires: %{python_module Brotli >= 1.0.6} BuildRequires: %{python_module Django >= 2.2} BuildRequires: %{python_module Jinja2}