[packages/rpm-build-tools] Enable network for building source package only

baggins baggins at pld-linux.org
Sun Oct 19 20:26:36 CEST 2025


commit 2d27900c581325dc0088d8e180e3947416e928b4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 19 20:26:14 2025 +0200

    Enable network for building source package only

 builder.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index 364500f..a68af54 100755
--- a/builder.sh
+++ b/builder.sh
@@ -365,7 +365,7 @@ Usage: builder [--all-branches] [-D|--debug] [-V|--version] [--short-version]  [
 -bl                 - execute the %files phase of <package>.spec
 -bs                 - get all files from PLD repo or HTTP/FTP and only pack
                       them into src.rpm,
---bnet				- enable network access for rpm build tool
+--bnet              - enable network access for rpm build tool
 --short-circuit     - short-circuit build
 -B, --branch        - add branch
 -c,
@@ -2183,6 +2183,7 @@ while [ $# -gt 0 ]; do
 		-bp | --build-prep )
 			COMMAND="build-prep"; shift ;;
 		-bs | --build-source )
+			NONETWORK="";
 			COMMAND="build-source"; shift ;;
 		-B | --branch )
 			COMMAND="branch"; shift; TAG="${1}"; shift;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/2d27900c581325dc0088d8e180e3947416e928b4



More information about the pld-cvs-commit mailing list