From 6c247e2800d72215c915a920346f337ee09074ad2c6be408319bda8ffac20380 Mon Sep 17 00:00:00 2001 From: Dominik Wombacher Date: Sun, 2 Jun 2024 09:20:56 +0000 Subject: [PATCH] - Backport patches to fix issues after 5.14.1 release (https://pagure.io/pagure/pull-request/5486) + fix(5.14.x): Use '==' instead of 'is' in template if condition because to work with old Jinja2 versions + fix(oidc): Edge case, avoid 'KeyError' after pagure update if a cached session is used + Patch: 5486.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=62 --- pagure.changes | 7 ++++--- pagure.spec | 8 +++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pagure.changes b/pagure.changes index 108087e..c22e4fc 100644 --- a/pagure.changes +++ b/pagure.changes @@ -1,9 +1,10 @@ ------------------------------------------------------------------- -Fri May 31 23:06:38 UTC 2024 - Dominik Wombacher +Sun Jun 2 09:16:20 UTC 2024 - Dominik Wombacher - Backport patches to fix issues after 5.14.1 release (https://pagure.io/pagure/pull-request/5486) -- fix(5.14.x): Use '==' instead of 'is' in template if condition because to work with old Jinja2 versions -- fix(oidc): Edge case, avoid 'KeyError' after pagure update if a cached session is used + + fix(5.14.x): Use '==' instead of 'is' in template if condition because to work with old Jinja2 versions + + fix(oidc): Edge case, avoid 'KeyError' after pagure update if a cached session is used + + Patch: 5486.patch ------------------------------------------------------------------- Sun May 26 20:11:46 UTC 2024 - Georg Pfuetzenreuter diff --git a/pagure.spec b/pagure.spec index cec0949..05cb967 100644 --- a/pagure.spec +++ b/pagure.spec @@ -40,16 +40,14 @@ Source1: https://raw.githubusercontent.com/fedora-infra/python-fedora/471 # SUSE-specific README providing a quickstart guide Source10: pagure-README.SUSE -# fix(5.14.x): Use '==' instead of 'is' in template if condition because to work with older Jinja2 versions -# fix(oidc): Edge case, avoid 'KeyError' after pagure update if a cached session is used -# https://pagure.io/pagure/pull-request/5486 -Patch0001: 5486.patch - # Backports from upstream # SUSE-specific fixes ## Change the defaults in the example config to match packaging Patch1000: pagure-5.0-default-example-cfg.patch +# PATCH-FIX-UPSTREAM 5486.patch https://pagure.io/pagure/pull-request/5486 dominik@wombacher.cc -- Use '==' instead of 'is' in template if condition because to work with older Jinja2 versions. Edge case, avoid 'KeyError' after pagure update if a cached session is used. +Patch1001: 5486.patch + BuildArch: noarch