]> piware.de Git - bin.git/commitdiff
mockspec: run offline
authorMartin Pitt <martin@piware.de>
Sat, 29 Jul 2017 20:46:55 +0000 (22:46 +0200)
committerMartin Pitt <martin@piware.de>
Sat, 29 Jul 2017 20:46:55 +0000 (22:46 +0200)
mockspec

index 5308a377ce0426564c61fc7dff7950019bcf6013..7334f2d5eac6d435f0c7545bfb909bb5d780c8d4 100755 (executable)
--- a/mockspec
+++ b/mockspec
@@ -4,4 +4,4 @@ set -eu
 [ -d "$(mock --print-root-path)" ] ||  mock --init
 specfile="$1"
 shift
-mock -i $(sed -n '/^BuildRequires:/ {s/^.*: //; s/>=.*$//; p}' "$specfile") $@
+mock --offline -i $(sed -n '/^BuildRequires:/ {s/^.*: //; s/>=.*$//; p}' "$specfile") $@