commit 906682ac3aac156e6e9de2bb43a543a4d91b88af
Author: Jan Chaloupka <[email protected]>
Date:   Wed Feb 25 12:35:56 2015 +0100

    Add commit and shortcommit global variable
    - related: #1156492

 golang-github-cpuguy83-go-md2man.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/golang-github-cpuguy83-go-md2man.spec 
b/golang-github-cpuguy83-go-md2man.spec
index b56ec04..fb6159b 100644
--- a/golang-github-cpuguy83-go-md2man.spec
+++ b/golang-github-cpuguy83-go-md2man.spec
@@ -4,10 +4,12 @@
 %global project         cpuguy83
 %global repo            go-md2man
 %global import_path     %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit          9e6aa16fb761edb30732b776308c920b40523d89
+%global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
 Name:           golang-%{provider}-%{project}-%{repo}
 Version:        1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Process markdown into manpages
 License:        MIT
 URL:            https://%{import_path}
@@ -72,6 +74,10 @@ install -p -m 755 ./_build/src/%{repo} %{buildroot}%{_bindir}
 %{gopath}/src/%{import_path}/*/*.go
 
 %changelog
+* Wed Feb 25 2015 jchaloup <[email protected]> - 1-3
+- Add commit and shortcommit global variable
+  related: #1156492
+
 * Mon Oct 27 2014 Lokesh Mandvekar <[email protected]> - 1-2
 - Resolves: rhbz#1156492 - initial fedora upload
 - quiet setup
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to