From: Martin Pitt Date: Mon, 8 Jul 2019 19:54:07 +0000 (+0200) Subject: Add build-devmock X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=a8283d958fee2a2835b9217d0e3ecfe473170109;p=bin.git Add build-devmock Build a mock with my day-to-day development dependencies. --- 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