From 32651a610e6ee2b1ed48b63cab6f12e0602c61b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 26 Jan 2022 13:48:40 +0100 Subject: [PATCH] test/koji: remove the koji-cli patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fix is already in Koji 1.27.1 which should be available in all downstreams we are testing against. See https://src.fedoraproject.org/rpms/koji Signed-off-by: Ondřej Budai --- test/cases/koji.sh | 8 ----- ...urn-mistakenly-dropped-option-keytab.patch | 29 ------------------- 2 files changed, 37 deletions(-) delete mode 100644 test/data/koji/Return-mistakenly-dropped-option-keytab.patch diff --git a/test/cases/koji.sh b/test/cases/koji.sh index 423d3d6b8..e5b8a4fd6 100755 --- a/test/cases/koji.sh +++ b/test/cases/koji.sh @@ -19,14 +19,6 @@ fi # Provision the software under test. /usr/libexec/osbuild-composer-test/provision.sh -# See https://pagure.io/koji/pull-request/3172 -greenprint "Fix missing --keytab in koji-cli 1.27" -if [[ $(rpm -q koji) == koji-1.27* ]]; -then - sudo dnf install -y patch - cat /usr/share/tests/osbuild-composer/koji/Return-mistakenly-dropped-option-keytab.patch | sudo patch -p1 -d /usr/bin -fi - # Make sure podman-plugins are installed sudo dnf -y install podman-plugins diff --git a/test/data/koji/Return-mistakenly-dropped-option-keytab.patch b/test/data/koji/Return-mistakenly-dropped-option-keytab.patch deleted file mode 100644 index c768a8f74..000000000 --- a/test/data/koji/Return-mistakenly-dropped-option-keytab.patch +++ /dev/null @@ -1,29 +0,0 @@ -From fc1708d81abaa933c163587ecb48dd246d86a35b Mon Sep 17 00:00:00 2001 -From: Tomas Kopecek -Date: Tue, 7 Dec 2021 11:28:03 +0100 -Subject: [PATCH] Return mistakenly dropped option (--keytab) - -PR https://pagure.io/koji/pull-request/3051 was wrongly merged -https://pagure.io/koji/c/071533206e6d29f665d7a5864eda75087488a3ce?branch=master -and deleted wrong line. Reverting it. - -Fixes: https://pagure.io/koji/issue/3171 ---- - cli/koji | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/cli/koji b/cli/koji -index a0a9bd7f..87fd6f15 100755 ---- a/koji -+++ b/koji -@@ -120,6 +120,7 @@ def get_options(): - parser.add_option("-c", "--config", dest="configFile", - help="load profile's settings from another file. Use with --profile.", - metavar="FILE") -+ parser.add_option("--keytab", help="specify a Kerberos keytab to use", metavar="FILE") - parser.add_option("--principal", help="specify a Kerberos principal to use") - parser.add_option("--cert", help="specify a SSL cert to use", metavar="FILE") - parser.add_option("--runas", help="run as the specified user (requires special privileges)") --- -2.33.1 -