[golang-github-russross-blackfriday/el6] Add commit and shortcommit global variable - related: #1156176
Jan Chaloupka
jchaloup at fedoraproject.org
Wed Feb 25 13:01:56 UTC 2015
commit aac28f9ad9af42a51e84d0e74895cce93b88ff27
Author: Jan Chaloupka <jchaloup at redhat.com>
Date: Wed Feb 25 13:39:10 2015 +0100
Add commit and shortcommit global variable
- related: #1156176
golang-github-russross-blackfriday.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/golang-github-russross-blackfriday.spec b/golang-github-russross-blackfriday.spec
index f965660..b1f160e 100644
--- a/golang-github-russross-blackfriday.spec
+++ b/golang-github-russross-blackfriday.spec
@@ -4,10 +4,12 @@
%global project russross
%global repo blackfriday
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit 2e7d690972283d45aadc7a5ea304841e26529433
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
Version: 1.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Markdown processor implemented in Go
License: BSD
URL: https://%{import_path}
@@ -58,6 +60,10 @@ GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
%{gopath}/src/%{import_path}/*/*
%changelog
+* Wed Feb 25 2015 jchaloup <jchaloup at redhat.com> - 1.2-4
+- Add commit and shortcommit global variable
+ related: #1156176
+
* Fri Oct 31 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.2-3
- include fedora/rhel arch conditionals
More information about the scm-commits
mailing list