[packages/adapter: 62/631] - change Epoch: to Serial:
glen
glen at pld-linux.org
Mon Sep 12 19:39:39 CEST 2016
commit b6853342e14c8777bb9849282f239fbd3cb9eae9
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date: Sun Jul 2 22:43:19 2000 +0000
- change Epoch: to Serial:
Changed files:
adapter.awk -> 1.62
adapter.awk | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index b5fbe9d..7cc2dcf 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -282,6 +282,9 @@ preamble == 1 {
if (field ~ /version:/)
version = $2
+ if (field ~ /epoch:/)
+ $1 = "Serial:"
+
# Use %{name} and %{version} in the filenames in "Source:"
if (field ~ /source/ && $2 ~ /^ftp:|^http:/) {
n = split($2, url, /\//)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list