[packages/adapter: 549/631] - remove cvs leftover: $id in at line 1
glen
glen at pld-linux.org
Mon Sep 12 20:20:27 CEST 2016
commit 8aa5d2f8139c27689f365a400f82e5eab5d3f0ef
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jul 11 18:13:49 2012 +0300
- remove cvs leftover: $id in at line 1
adapter.awk | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index fad5240..381c942 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -33,9 +33,8 @@ BEGIN {
RPM_SECTIONS = "package|build|changelog|clean|description|install|post|posttrans|postun|pre|prep|pretrans|preun|triggerin|triggerpostun|triggerun|verifyscript|check"
SECTIONS = "^%(" RPM_SECTIONS ")"
- RCSID = "$Id$"
- rev = RCSID # TODO: parse from RCSID
- VERSION = "0.35/" rev
+ rev = "1.514"
+ VERSION = "0.36/" rev
PREAMBLE_TAGS = "(R|BR|Summary|Name|Version|Release|Epoch|License|Group|URL|BuildArch|BuildRoot|Obsoletes|Conflicts|Provides|ExclusiveArch|ExcludeArch|Pre[Rr]eq|(Build)?Requires|Suggests|Auto(Req|Prov))"
@@ -69,18 +68,6 @@ BEGIN {
changelog_file = mktemp("adapter.changelogXXXXXX")
}
-# There should be a comment with CVS keywords on the first line of file.
-FNR == 1 {
- if (!/^# \$[R]evision: .* \$, \$[D]ate: .* \$$/) { # If this line is already OK?
- print "# $" "Revision:$, " "$" "Date:$" # No
- if ( /^#.*([rR]evision|[dD]ate)/ ) # There was something similar, but incorrect
- next
- } else {
- print $0 # Yes
- next # It is enough for first line
- }
-}
-
# If the latest line matched /%files/
defattr == 1 {
if (ENVIRON["SKIP_DEFATTR"] != 1) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list