[packages/rpm-build-tools] kill tabs in %package line

glen glen at pld-linux.org
Tue Feb 25 11:29:00 CET 2014


commit f8a123ce550f83ef917924ed112d5298372bbec5
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/rpm-build-tools.git/commitdiff/c40b0b82501ff1a1431e2bcdf3265e9ac523cfea



More information about the pld-cvs-commit mailing list