]> piware.de Git - bin.git/commitdiff
mockspec: Drop --offline
authorMartin Pitt <martin@piware.de>
Thu, 22 Feb 2018 20:03:48 +0000 (21:03 +0100)
committerMartin Pitt <martin@piware.de>
Thu, 22 Feb 2018 20:03:48 +0000 (21:03 +0100)
mockspec

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