SPECS: adapter.awk - Epoch after Release

glen glen at pld-linux.org
Mon Mar 6 10:38:35 CET 2006


Author: glen                         Date: Mon Mar  6 09:38:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Epoch after Release

---- Files affected:
SPECS:
   adapter.awk (1.290 -> 1.291) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.290 SPECS/adapter.awk:1.291
--- SPECS/adapter.awk:1.290	Sat Mar  4 15:18:29 2006
+++ SPECS/adapter.awk	Mon Mar  6 10:38:30 2006
@@ -28,7 +28,7 @@
 	RPM_SECTIONS = "package|build|changelog|clean|description|install|post|posttrans|postun|pre|prep|pretrans|preun|triggerin|triggerpostun|triggerun|verifyscript|check"
 	SECTIONS = "^%(" RPM_SECTIONS ")"
 
-	PREAMBLE_TAGS = "(Summary|Name|Version|Release|License|Group|URL|BuildArch|BuildRoot|Obsoletes|Conflicts|Provides|ExclusiveArch|ExcludeArch|Pre[Rr]eq|(Build)?Requires)"
+	PREAMBLE_TAGS = "(Summary|Name|Version|Release|Epoch|License|Group|URL|BuildArch|BuildRoot|Obsoletes|Conflicts|Provides|ExclusiveArch|ExcludeArch|Pre[Rr]eq|(Build)?Requires)"
 
 	preamble = 1		# Is it part of preamble? Default - yes
 	boc = 4			# Beginning of %changelog
@@ -123,6 +123,7 @@
     gsub(/^Name/, "2Name", s);
     gsub(/^Version/, "3Version", s);
     gsub(/^Release/, "4Release", s);
+    gsub(/^Epoch/, "5Epoch", s);
     gsub(/^License/, "5License", s);
     gsub(/^Group/, "6Group", s);
     gsub(/^URL/, "7URL", s);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.290&r2=1.291&f=u



More information about the pld-cvs-commit mailing list