[packages/adapter: 585/631] kill tabs in %package line

glen glen at pld-linux.org
Mon Sep 12 20:23:28 CEST 2016


commit bd4320d06ba68698e084efbd4a26a49505626b19
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Feb 25 12:28:35 2014 +0200

    kill tabs in %package line

 adapter.awk | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 3c694fc..a1d59ae 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -255,6 +255,11 @@ function b_makekey(a, b,	s) {
 	next
 }
 
+# %package part
+/^%package/, (!/^%package/ && $0 ~ SECTIONS) {
+	gsub(/\t/, " ");
+}
+
 ################
 # %description #
 ################
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list