summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--golang-github-michaelklishin-rabbit-hole.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/golang-github-michaelklishin-rabbit-hole.spec b/golang-github-michaelklishin-rabbit-hole.spec
index 042132c..aa973c9 100644
--- a/golang-github-michaelklishin-rabbit-hole.spec
+++ b/golang-github-michaelklishin-rabbit-hole.spec
@@ -38,18 +38,16 @@
# https://github.com/michaelklishin/rabbit-hole
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 3841372876b73da66a585b29e70358b901534fb7
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
-Version: 1.2.0
+Version: 1.4.0
Release: 1%{?dist}
Summary: RabbitMQ HTTP API client in Go
# Detected licences
# - BSD (2 clause) at 'LICENSE'
License: BSD
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}}
@@ -109,7 +107,7 @@ providing packages with %{import_path} prefix.
%endif
%prep
-%setup -q -n %{repo}-%{commit}
+%setup -q -n %{repo}-%{version}
%build
%install
@@ -187,5 +185,5 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
-* Sat Mar 04 2017 Ed Marshall <esm@logic.net> - 1.2.0-1
+* Tue Oct 03 2017 Ed Marshall <esm@logic.net> - 1.4.0-1
- First package for Fedora