diff --git a/.gitignore b/.gitignore index 0ddd481..537ddaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/go-isatty-fc9e8d8.tar.gz /go-isatty-v0.0.3.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..88e3b51 --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: 9cbceead1ee209e1179adb99d5c5fd8cb1ad77a5e73c1c4488ae08bbb3a4e46b +imports: [] +updated: '2018-06-17T22:09:43.589143+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..582b1bf --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: github.com/mattn/go-isatty + diff --git a/golang-github-mattn-go-isatty.spec b/golang-github-mattn-go-isatty.spec index 66bd5c8..5dceb8c 100644 --- a/golang-github-mattn-go-isatty.spec +++ b/golang-github-mattn-go-isatty.spec @@ -1,26 +1,28 @@ # http://github.com/mattn/go-isatty -%global provider_prefix github.com/mattn/go-isatty -%global gobaseipath %{provider_prefix} -%global commit fc9e8d8ef48496124e79ae0df75490096eccf6fe -%gocraftmeta -i +%global goipath github.com/mattn/go-isatty +%global gcommit fc9e8d8ef48496124e79ae0df75490096eccf6fe -Name: %{goname} Version: 0.0.3 -Release: 3%{?dist} + +%gometa -i + +Name: %{goname} +Release: 4%{?dist} Summary: Isatty for golang # Detected licences # - MIT/X11 (BSD like) at 'LICENSE' License: MIT URL: %{gourl} Source0: %{gosource} +Source1: glide.yaml +Source2: glide.yaml %description %{summary} %package devel Summary: %{summary} -BuildArch: noarch BuildRequires: golang(golang.org/x/sys/unix) @@ -29,13 +31,13 @@ BuildRequires: golang(golang.org/x/sys/unix) 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 @@ -48,6 +50,9 @@ building other packages which use import path with %doc README.md %changelog +* Sun Jun 17 2018 Jan Chaloupka - 0.0.3-4 +- Upload glide files + * Thu Mar 01 2018 Jan Chaloupka - 0.0.3-3 - Autogenerate some parts using the new macros diff --git a/sources b/sources index c2ca363..8ae09ac 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (go-isatty-fc9e8d8.tar.gz) = 8627d22f5ee5a087744bbf4dd391f8f87ebabe8940564206935dec9e406e40a98976479ea973e61afeb1774df211992cd61c67ee198d546e22fbf60826b64ac9 SHA512 (go-isatty-v0.0.3.tar.gz) = 60afa46beefe482bb13ab9dd0b94c45719a91d7f5d98f87452154636b520648fd900961b0df2bb3170bf42cdb62635073cfc48f923639aa2391ddccd6382fb1d