From a8283d958fee2a2835b9217d0e3ecfe473170109 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 8 Jul 2019 21:54:07 +0200 Subject: [PATCH] Add build-devmock Build a mock with my day-to-day development dependencies. --- build-devmock | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 build-devmock diff --git a/build-devmock b/build-devmock new file mode 100755 index 0000000..d288959 --- /dev/null +++ b/build-devmock @@ -0,0 +1,12 @@ +#!/bin/sh +set -eux +MOCK="mock -r ${OS:-default}" + +mock --clean + +# install cockpit's build deps +$MOCK -i $(sed -n '/^BuildRequires:/ {s/^.*: //; s/>=.*$//; s/%{.*}//; p}' ~/upstream/cockpit/tools/cockpit.spec) \ + npm fontconfig git valgrind chromium-headless \ + libvirt-daemon-kvm libvirt-client python3-libvirt \ + expect python3-pycodestyle python3-pyflakes \ + fedpkg /usr/bin/oc -- 2.39.2