[packages/caddy] include gitTag for version

glen glen at pld-linux.org
Sun May 22 13:22:37 CEST 2016


commit 30f371467a797900c0fd070b133876294a450426
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 22 14:22:26 2016 +0300

    include gitTag for version

 caddy.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/caddy.spec b/caddy.spec
index c97a0f0..ebacff9 100644
--- a/caddy.spec
+++ b/caddy.spec
@@ -48,7 +48,7 @@ export GOPATH=$(pwd)/vendor
 
 # command extraced by running "build.bash" from git tree
 LDFLAGS="\
--X main.gitTag= \
+-X main.gitTag=v%{version} \
 -X main.gitNearestTag=v%{version} \
 -X main.gitCommit= \
 -X main.gitShortStat= \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/caddy.git/commitdiff/30f371467a797900c0fd070b133876294a450426



More information about the pld-cvs-commit mailing list