Accepting request 1252100 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1252100 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 11 13:19:11 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Add reproducible.patch for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 11:33:38 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@@ -92,6 +92,7 @@ Patch0: hyperkitty-settings.patch
|
||||
Patch98: gl-mr300-add-opengraph-metadata.patch
|
||||
# PATCH-FIX-UPSTREAM gl-mr470-introduce-feed-filtering.patch gl#mailman/hyperkitty#470
|
||||
Patch99: gl-mr470-introduce-feed-filtering.patch
|
||||
Patch100: reproducible.patch
|
||||
#
|
||||
BuildRequires: %{python_module Django >= %{django_min_version} with %python-Django < %{django_max_version}}
|
||||
BuildRequires: %{python_module Whoosh}
|
||||
|
27
reproducible.patch
Normal file
27
reproducible.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
https://gitlab.com/mailman/hyperkitty/-/merge_requests/656
|
||||
|
||||
From 3961ea048f00da1004bbfe22f43ea2a494279d49 Mon Sep 17 00:00:00 2001
|
||||
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
|
||||
Date: Mon, 16 Dec 2024 16:08:45 +0100
|
||||
Subject: [PATCH] Use content based hashing
|
||||
|
||||
for deterministic .css files
|
||||
Without this patch, the mode defaulted to `mtime`
|
||||
and caused variations between builds.
|
||||
|
||||
Fixes #527
|
||||
|
||||
This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.
|
||||
|
||||
diff --git a/example_project/settings.py b/example_project/settings.py
|
||||
index ec7f742..1c53df6 100644
|
||||
--- a/build_static_files/settings.py
|
||||
+++ b/build_static_files/settings.py
|
||||
@@ -304,6 +304,7 @@ SOCIALACCOUNT_PROVIDERS = {
|
||||
# django-compressor
|
||||
# https://pypi.python.org/pypi/django_compressor
|
||||
#
|
||||
+COMPRESS_CSS_HASHING_METHOD = 'content'
|
||||
COMPRESS_PRECOMPILERS = (
|
||||
('text/x-scss', 'sassc -t compressed {infile} {outfile}'),
|
||||
('text/x-sass', 'sassc -t compressed {infile} {outfile}'),
|
Reference in New Issue
Block a user