]> git.pld-linux.org Git - packages/adapter.git/commitdiff
- remove cvs leftover: $id in at line 1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 11 Jul 2012 15:13:49 +0000 (18:13 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 11 Jul 2012 15:13:49 +0000 (18:13 +0300)
adapter.awk

index fad5240b1b6804fd8c216ceb4e55f0063d55e489..381c942c92612d3869447d0ddb0396c9a575d181 100644 (file)
@@ -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) {
This page took 0.086413 seconds and 4 git commands to generate.