From b0b3df140ddf9ce9d60f380eae1ae578310cc6ad Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 29 Jul 2017 22:46:55 +0200 Subject: [PATCH] mockspec: run offline --- mockspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") $@ -- 2.39.5