diff options
-rw-r--r-- | golang-github-mgutz-logxi.spec | 12 |
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 |