From 0c99963ffb375038fd5551682218e29f5d1e4270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 30 Nov 2020 12:07:29 +0100 Subject: [PATCH] mockbuild: install s3cmd from repositories There's no need to install it from pip, it's in the repositories. Also, s3cmd for Fedora 33 contains a downstream fix for Python 3.9 compatibility. --- schutzbot/mockbuild.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index 6727c51..223cbb8 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -55,13 +55,7 @@ fi # Install requirements for building RPMs in mock. greenprint "📦 Installing mock requirements" -sudo dnf -y install createrepo_c mock python3-pip rpm-build - -# Install s3cmd if it is not present. -if ! s3cmd --version > /dev/null 2>&1; then - greenprint "📦 Installing s3cmd" - sudo pip3 -q install s3cmd -fi +sudo dnf -y install createrepo_c mock rpm-build s3cmd # Print some data. greenprint "🧬 Using mock config: ${MOCK_CONFIG}"