[golang-github-cpuguy83-go-md2man/el6] Add commit and shortcommit global variable - related: #1156492

Jan Chaloupka jchaloup at fedoraproject.org
Wed Feb 25 14:09:53 UTC 2015


commit 321389ccee0c8827ecfa78a349cef1b600953c5e
Author: Jan Chaloupka <jchaloup at redhat.com>
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 <jchaloup at redhat.com> - 1-3
+- Add commit and shortcommit global variable
+  related: #1156492
+
 * Mon Oct 27 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1-2
 - Resolves: rhbz#1156492 - initial fedora upload
 - quiet setup


More information about the scm-commits mailing list