From 26ca1342d0c16b694d78ed77e16b2e958295e50a Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 22 May 2023 10:49:15 +0300 Subject: [PATCH] Fix patches --- SOURCES/faf-almalinux_support.patch | 7 +++---- SOURCES/faf-saml-auth.patch | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/SOURCES/faf-almalinux_support.patch b/SOURCES/faf-almalinux_support.patch index c96c8f5..6ef603e 100644 --- a/SOURCES/faf-almalinux_support.patch +++ b/SOURCES/faf-almalinux_support.patch @@ -436,10 +436,10 @@ diff -Naur faf-git-2884.9521ad3.orig/src/pyfaf/opsys/almalinux.py faf-git-2884.9 diff -Naur faf-git-2884.9521ad3.orig/src/pyfaf/ureport.py faf-git-2884.9521ad3.almalinux/src/pyfaf/ureport.py --- faf-git-2884.9521ad3.orig/src/pyfaf/ureport.py 2021-01-27 00:52:48.000000000 +0300 +++ faf-git-2884.9521ad3.almalinux/src/pyfaf/ureport.py 2021-02-09 19:24:28.761661372 +0300 -@@ -487,6 +487,42 @@ +@@ -483,6 +483,40 @@ + else: log.error("Failed to fetch bug #{0} from '{1}'" .format(bug_id, atype)) - + elif atype == "almalinux-mantisbt": + bug_id = int(attachment["data"]) + @@ -474,7 +474,6 @@ diff -Naur faf-git-2884.9521ad3.orig/src/pyfaf/ureport.py faf-git-2884.9521ad3.a + else: + log.error("Failed to fetch bug #{0} from '{1}'" + .format(bug_id, atype)) -+ + elif atype == "comment": comment = ReportComment() - comment.report = report diff --git a/SOURCES/faf-saml-auth.patch b/SOURCES/faf-saml-auth.patch index f332430..fd33988 100644 --- a/SOURCES/faf-saml-auth.patch +++ b/SOURCES/faf-saml-auth.patch @@ -261,4 +261,4 @@ diff -crB tests.orig/test_webfaf/test_user.py tests/test_webfaf/test_user.py def test_delete_user_data(self): """ - + \ No newline at end of file