[packages/adapter] - cosmetics, remove space in patch args

baggins baggins at pld-linux.org
Sun Sep 28 13:58:42 CEST 2025


commit 53b3f76e84b4a2c2edf7ad7e242e47597598f6d2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Sep 28 15:57:10 2025 +0200

    - cosmetics, remove space in patch args

 adapter.awk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 00a351f..92059f8 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -379,8 +379,9 @@ function b_makekey(a, b,	s) {
 	}
 
 	if (/^%patch[0-9]+/) {
-		sub("[0-9]+", " -P &")
+		sub("[0-9]+", " -P&")
 	}
+	gsub("^%patch -P ", "%patch -P")
 
 	# invalid in %prep
 	sub("^rm -rf \\$RPM_BUILD_ROOT.*", "")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/cf571102e2e1ffcfd9d4c41fd0ebdbadaf4f682a



More information about the pld-cvs-commit mailing list