[packages/adapter: 6/631] - insert only one blank line after %changelog header, - ignore some spec fileds like: Packager, Dist
glen
glen at pld-linux.org
Mon Sep 12 19:34:58 CEST 2016
commit 972830adcaa67ad021811d3e871511e3a97ed76a
Author: kloczek <kloczek at pld-linux.org>
Date: Sat Nov 27 14:20:52 1999 +0000
- insert only one blank line after %changelog header,
- ignore some spec fileds like: Packager, Distribution, Prefix.
Changed files:
adapter.awk -> 1.6
adapter.awk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 3b2cc25..e1d09aa 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -94,7 +94,7 @@ bof == 1 {
if (!/PLD Team/) {
print "* %{date} PLD Team <pld-list at pld.org.pl>";
printf "All below listed persons can be reached on ";
- print "<cvs_login>@pld.org.pl\n\n";
+ print "<cvs_login>@pld.org.pl\n";
print "$" "Log:$";
}
boc = 0;
@@ -108,6 +108,11 @@ bof == 1 {
}
}
+# ignore some spec filelds
+/^[Pp]ackager:/ {next}
+/^[Dd]istribution:/ {next}
+/^[Pp]refix:/ {next}
+
# preambles:
preamble == 1 {
# There should not be a space after the name of field
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list