summaryrefslogtreecommitdiffstats
path: root/golang-github-mgutz-logxi.spec
diff options
context:
space:
mode:
authorEd Marshall <esm@logic.net>2017-10-07 13:52:46 -0700
committerEd Marshall <esm@logic.net>2017-10-07 13:52:46 -0700
commit45989165e4edf2c70246196355aa008d034e90f1 (patch)
tree15043fd394f319d58206dfadc2e6dab8f1f452a8 /golang-github-mgutz-logxi.spec
parent27cdf84a4e965e27b42aeaae7229821d06d879e8 (diff)
downloadgolang-github-mgutz-logxi-master.tar.gz
golang-github-mgutz-logxi-master.tar.xz
golang-github-mgutz-logxi-master.zip
Updates based on reviewHEADmaster
Diffstat (limited to 'golang-github-mgutz-logxi.spec')
-rw-r--r--golang-github-mgutz-logxi.spec12
1 files changed, 5 insertions, 7 deletions
diff --git a/golang-github-mgutz-logxi.spec b/golang-github-mgutz-logxi.spec
index d4c6aac..98f36e2 100644
--- a/golang-github-mgutz-logxi.spec
+++ b/golang-github-mgutz-logxi.spec
@@ -38,18 +38,16 @@
# https://github.com/mgutz/logxi
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit aebf8a7d67ab4625e0fd4a665766fef9a709161b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
-Version: 0
-Release: 0.1.git%{shortcommit}%{?dist}
+Version: 1
+Release: 1%{?dist}
Summary: A 12-factor app logger built for performance and happy development
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
License: MIT
URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+Source0: https://%{provider_prefix}/archive/v%{version}/%{repo}-%{version}.tar.gz
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
@@ -114,7 +112,7 @@ providing packages with %{import_path} prefix.
%endif
%prep
-%setup -q -n %{repo}-%{commit}
+%setup -q -n %{repo}-%{version}
%build
%install
@@ -193,5 +191,5 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
-* Sat Mar 04 2017 Ed Marshall <esm@logic.net> - 0-0.1.gitaebf8a7
+* Sat Oct 07 2017 Ed Marshall <esm@logic.net> - 1.1
- First package for Fedora