diff --git a/.gitignore b/.gitignore index 6095b1d..1d615be 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/yamux-df94978.tar.gz +/yamux-df949784da9ed028ee76df44652e42d37a09d7e4.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..121cb30 --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: 9bda86545c2435a456f48612682760ecad9be76046c9a5d65720faea43fc58e6 +imports: [] +updated: '2018-06-12T11:42:36.244319+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..0cb8483 --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: github.com/hashicorp/yamux + diff --git a/golang-github-hashicorp-yamux.spec b/golang-github-hashicorp-yamux.spec index 5b6950a..8ed7694 100644 --- a/golang-github-hashicorp-yamux.spec +++ b/golang-github-hashicorp-yamux.spec @@ -1,18 +1,20 @@ # http://github.com/hashicorp/yamux -%global provider_prefix github.com/hashicorp/yamux -%global gobaseipath %{provider_prefix} + +%global goipath github.com/hashicorp/yamux %global commit df949784da9ed028ee76df44652e42d37a09d7e4 -%global commitdate 20151129 -%gocraftmeta -i + +%gometa -i Name: %{goname} Version: 0 -Release: 0.12.%{commitdate}git%{shortcommit}%{?dist} +Release: 0.13%{?dist} Summary: Golang connection multiplexing library License: MPLv2.0 URL: %{gourl} Source0: %{gosource} +Source1: glide.yaml +Source2: glide.yaml %description %{summary} @@ -26,16 +28,16 @@ BuildArch: noarch This package contains library source intended for building other packages which use import path with -%{gobaseipath} prefix. +%{goipath} prefix. %prep -%gosetup - +%gosetup -q +cp %{SOURCE1} %{SOURCE2} . %install -%goinstall +%goinstall glide.lock glide.yaml %check -%gochecks %{gobaseipath} +%gochecks -d . #define license tag if not already defined %{!?_licensedir:%global license %doc} @@ -45,6 +47,9 @@ building other packages which use import path with %doc spec.md README.md %changelog +* Tue Jun 12 2018 Jan Chaloupka - 0-0.13.gitdf94978 +- Upload glide files + * Wed Feb 28 2018 Jan Chaloupka - 0-0.12.20151129gitdf94978 - Autogenerate some parts using the new macros diff --git a/sources b/sources index bd0cc64..47b41ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cd8fa447192c1b12559992b0cf5446de yamux-df94978.tar.gz +SHA512 (yamux-df949784da9ed028ee76df44652e42d37a09d7e4.tar.gz) = bca9909319d5610b6d12ae8bb78afec97bb9b61119e10a22011699b3197d1ad3bf75cb143a9fd87a3eda69014439a8350d1c6993664c8d6e00e34796ce40d117