diff --git a/.gitignore b/.gitignore index ea79379..f417f3e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/jwt-go-d2709f9.tar.gz +/jwt-go-d2709f9f1f31ebcda9651b03077758c1f3a0018c.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..c4b22e8 --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: 70b5db11b2599165a300383717e9e76b42ac33de5b94539937263aa35c6f638a +imports: [] +updated: '2018-06-09T17:18:45.983772+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..14d4e7c --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: github.com/dgrijalva/jwt-go + diff --git a/golang-github-dgrijalva-jwt-go.spec b/golang-github-dgrijalva-jwt-go.spec index 2786231..fec5ed0 100644 --- a/golang-github-dgrijalva-jwt-go.spec +++ b/golang-github-dgrijalva-jwt-go.spec @@ -1,18 +1,18 @@ # http://github.com/dgrijalva/jwt-go -%global provider_prefix github.com/dgrijalva/jwt-go -%global gobaseipath %{provider_prefix} +%global goipath github.com/dgrijalva/jwt-go %global commit d2709f9f1f31ebcda9651b03077758c1f3a0018c -%global commitdate 20160616 -%gocraftmeta -i +%gometa -i Name: %{goname} Version: 2.2.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Golang implementation of JSON Web Tokens (JWT) License: MIT URL: %{gourl} Source0: %{gosource} +Source1: glide.lock +Source2: glide.yaml %description %{summary} @@ -26,13 +26,15 @@ BuildArch: noarch This package contains library source intended for building other packages which use import path with -%{gobaseipath} prefix. +%{goipath} prefix. %prep %gosetup +cp %{SOURCE1} %{SOURCE2} . %install -%goinstall $(find . -iname "test" -type d) +files="$(find . -iname 'test' -type d)" +%goinstall $files glide.lock glide.yaml %check %gochecks @@ -45,6 +47,9 @@ building other packages which use import path with %doc VERSION_HISTORY.md README.md %changelog +* Sat Jun 09 2018 Jan Chaloupka - 2.2.0-11.gitd2709f9 +- Upload glide files + * Wed Feb 28 2018 Jan Chaloupka - Autogenerate some parts using the new macros diff --git a/sources b/sources index 546d02d..582de05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jwt-go-d2709f9.tar.gz) = 12a26fd70674394fe5dc64695314d85c08370d134c8af0d8047363938c90c23f40e0f8f8b25e9288c40bdb28513cfe64fac738a6e557f5425531d7dac01586e8 +SHA512 (jwt-go-d2709f9f1f31ebcda9651b03077758c1f3a0018c.tar.gz) = 12a26fd70674394fe5dc64695314d85c08370d134c8af0d8047363938c90c23f40e0f8f8b25e9288c40bdb28513cfe64fac738a6e557f5425531d7dac01586e8