[packages/adapter: 301/631] - Epoch after Release

glen glen at pld-linux.org
Mon Sep 12 19:59:41 CEST 2016


commit 6bf0d5daf15b8bb7b121d7df30032afde558fecc
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Mar 6 09:38:30 2006 +0000

    - Epoch after Release
    
    Changed files:
        adapter.awk -> 1.291

 adapter.awk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 1313e17..0cc6bbf 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -28,7 +28,7 @@ BEGIN {
 	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 @@ function b_makekey(a, b,	s) {
     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);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list