diff --git a/0001-ResultsDBAuth-it-s-staticmethod-not-static_method.patch b/0001-ResultsDBAuth-it-s-staticmethod-not-static_method.patch deleted file mode 100644 index 00bb0c9..0000000 --- a/0001-ResultsDBAuth-it-s-staticmethod-not-static_method.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 5074d7b11ac5b9f476dfa966118aba7a31c3f15a Mon Sep 17 00:00:00 2001 -From: Adam Williamson -Date: Wed, 10 Nov 2021 10:00:56 -0800 -Subject: [PATCH] ResultsDBAuth: it's `@staticmethod`, not `@static_method` - -Signed-off-by: Adam Williamson ---- - resultsdb_api.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/resultsdb_api.py b/resultsdb_api.py -index 67e7eb6..172c644 100644 ---- a/resultsdb_api.py -+++ b/resultsdb_api.py -@@ -112,7 +112,7 @@ class ResultsDBAuth(object): - request level authentication types. - """ - -- @static_method -+ @staticmethod - def basic_auth(username, password): - """ - Return `requests.auth.HTTPBasicAuth`. --- -2.33.1 - diff --git a/python-resultsdb_api.spec b/python-resultsdb_api.spec index fc5f5b8..0cd7f8f 100644 --- a/python-resultsdb_api.spec +++ b/python-resultsdb_api.spec @@ -1,13 +1,12 @@ Name: python-resultsdb_api # NOTE: if you update version, *make sure* to also update `setup.py` Version: 2.1.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Interface api to ResultsDB License: GPLv2+ URL: https://pagure.io/taskotron/resultsdb_api Source0: https://qa.fedoraproject.org/releases/resultsdb_api/resultsdb_api-%{version}.tar.gz -Patch0: 0001-ResultsDBAuth-it-s-staticmethod-not-static_method.patch BuildArch: noarch @@ -52,6 +51,9 @@ Python3 interface to resultsdb. %{python3_sitelib}/resultsdb_api-%{version}*.egg-info %changelog +* Sun Nov 14 2021 Frantisek Zatloukal - 2.1.4-3 +- Revert backported patch for auth code + * Thu Nov 11 2021 Adam Williamson - 2.1.4-2 - Backport patch to fix critical error in auth code