From 4b084e3b64e68e5c1a3dc26ab90c440ce8748902 Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Sat, 14 Nov 2020 13:33:04 +0100 Subject: [PATCH] mockbuild: drop fastestmirror and weakdependencies Try to be install as close to what people do in production, which means sticking to the defaults. --- schutzbot/mockbuild.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index 0cfdd6b2..dc0f1c66 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -29,12 +29,6 @@ fi greenprint "📦 Installing mock requirements" sudo dnf -y install createrepo_c make mock python3-pip rpm-build s3cmd -# Enable fastestmirror for mock on Fedora. -if [[ $ID == fedora ]]; then - sudo sed -i '/^install_weak_deps=.*/a fastestmirror=1' \ - /etc/mock/templates/fedora-branched.tpl -fi - # Mock configuration file to use for building RPMs. MOCK_CONFIG="${ID}-${VERSION_ID%.*}-$(uname -m)"