[golang-github-Sirupsen-logrus] Bump to upstream 51fe59aca108dc5680109e7b2051cbdcfa5a253c - related: #1158670

Jan Chaloupka jchaloup at fedoraproject.org
Thu Jan 29 15:42:01 UTC 2015


commit c728992d5722206be012bd3fd5d00079d54ff55d
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Thu Jan 29 14:36:44 2015 +0100

    Bump to upstream 51fe59aca108dc5680109e7b2051cbdcfa5a253c
    - related: #1158670

 .gitignore                         |    2 +-
 golang-github-Sirupsen-logrus.spec |   12 +++++++++---
 sources                            |    2 +-
 3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c2ee710..ff0854b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/v0.6.2.tar.gz
+/logrus-51fe59a.tar.gz
diff --git a/golang-github-Sirupsen-logrus.spec b/golang-github-Sirupsen-logrus.spec
index 0f62bb7..74d0ecc 100644
--- a/golang-github-Sirupsen-logrus.spec
+++ b/golang-github-Sirupsen-logrus.spec
@@ -4,14 +4,16 @@
 %global project         Sirupsen
 %global repo            logrus
 %global import_path     %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit          51fe59aca108dc5680109e7b2051cbdcfa5a253c
+%global shortcommit     %(c=%{commit}; echo ${c:0:7})
 
 Name:       golang-%{provider}-%{project}-%{repo}
-Version:    0.6.2
+Version:    0.6.4
 Release:    1%{?dist}
 Summary:    Structured logger for Go
 License:    MIT
 URL:        https://%{import_path}
-Source0:    https://%{import_path}/archive/v%{version}.tar.gz
+Source0:    https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
 %if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 BuildArch:  noarch
 %else
@@ -39,7 +41,7 @@ This package contains library source intended for building other packages
 which use %{project}/%{repo}.
 
 %prep
-%setup -qn %{repo}-%{version}
+%setup -qn %{repo}-%{commit}
 
 %build
 
@@ -60,6 +62,10 @@ GOPATH=%{buildroot}%{gopath}:%{gopath} go test %{import_path}
 %{gopath}/src/%{import_path}/*
 
 %changelog
+* Thu Jan 29 2015 jchaloup <jchaloup at redhat.com> - 0.6.4-1
+- Bump to upstream 51fe59aca108dc5680109e7b2051cbdcfa5a253c
+  related: #1158670
+
 * Fri Jan 02 2015 jchaloup <jchaloup at redhat.com> - 0.6.2-1
 - Update to 0.6.2
   related: #1158670
diff --git a/sources b/sources
index 25112a0..f85d938 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70dd620798411318dabbad220940c462  v0.6.2.tar.gz
+104bde08dcceb6cbb99bf6492ba0a96a  logrus-51fe59a.tar.gz


More information about the scm-commits mailing list