diff --git a/.gitignore b/.gitignore index a9513e5..5e01e48 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/go-cache-7d1d6d6.tar.gz +/go-cache-7d1d6d6ae935664bc8b80ab2b1fc7ab77a7e46da.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..32d1e2b --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: 4cf69c2f501de868020fd57cf8a93ba5565a1321838caaeb08cc77714d00c72c +imports: [] +updated: '2018-06-12T12:37:53.633745+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..2b9a51f --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: github.com/influxdb/go-cache + diff --git a/golang-github-influxdb-go-cache.spec b/golang-github-influxdb-go-cache.spec index 641bdc6..52290ea 100644 --- a/golang-github-influxdb-go-cache.spec +++ b/golang-github-influxdb-go-cache.spec @@ -1,18 +1,20 @@ -# https://github.com/influxdb/go-cache -%global provider_prefix github.com/influxdb/go-cache -%global gobaseipath %{provider_prefix} +# http://github.com/influxdb/go-cache + +%global goipath github.com/influxdb/go-cache %global commit 7d1d6d6ae935664bc8b80ab2b1fc7ab77a7e46da -%global commitdate 20130808 -%gocraftmeta -i -Name: %{goname} +%gometa -i + +Name: golang-github-influxdb-go-cache Version: 0 -Release: 0.9.%{commitdate}git%{shortcommit}%{?dist} +Release: 0.10%{?dist} Summary: An in-memory key:value store/cache library for Go License: MIT URL: %{gourl} Source0: %{gosource} +Source1: glide.yaml +Source2: glide.yaml BuildArch: noarch %description @@ -27,13 +29,13 @@ An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications This package contains library source intended for -building other packages which use %{gobaseipath}. +building other packages which use %{goipath}. %prep -%gosetup - +%gosetup -q +cp %{SOURCE1} %{SOURCE2} . %install -%goinstall +%goinstall glide.lock glide.yaml %check %gochecks @@ -42,6 +44,9 @@ building other packages which use %{gobaseipath}. %doc LICENSE README CONTRIBUTORS %changelog +* Tue Jun 12 2018 Jan Chaloupka - 0-0.10.git7d1d6d6.git7d1d6d6 +- Upload glide files + * Wed Feb 28 2018 Jan Chaloupka - 0-0.9.20130808git7d1d6d6 - Autogenerate some parts using the new macros diff --git a/sources b/sources index bb41156..84ddbc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -60d06866df4ed61334cefa71e9e77aaa go-cache-7d1d6d6.tar.gz +SHA512 (go-cache-7d1d6d6ae935664bc8b80ab2b1fc7ab77a7e46da.tar.gz) = df8ba7538e24ec2cfff2f5acdcf25dd05902334c38af0aa6da40aab160b0af32a3e8784e7c1ea9cfef06040a61604101550d682b8f881f1d8ef3379af90e9e36