From: Martin Pitt Date: Sat, 29 Jul 2017 20:46:55 +0000 (+0200) Subject: mockspec: run offline X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=b0b3df140ddf9ce9d60f380eae1ae578310cc6ad;p=bin.git mockspec: run offline --- diff --git a/mockspec b/mockspec index 5308a37..7334f2d 100755 --- 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") $@