diff --git a/.gitignore b/.gitignore index 19e2178..4b7e915 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/panicwrap-aceac81.tar.gz +/panicwrap-aceac81c6e2f55f23844821679a0553b545e91df.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..3a52424 --- /dev/null +++ b/glide.lock @@ -0,0 +1,5 @@ +hash: e3c3fc42b9996c25ec831d1955b80dbd9ffb4a2ae220bd176597d2a164e18cea +imports: +- name: github.com/bugsnag/osext + version: 0dd3f918b21bec95ace9dc86c7e70266cfc5c702 +updated: '2018-06-08T20:52:06.597545+00:00' diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..eb05de5 --- /dev/null +++ b/glide.yaml @@ -0,0 +1,5 @@ +import: +- package: github.com/bugsnag/osext + version: 0dd3f918b21bec95ace9dc86c7e70266cfc5c702 +package: github.com/bugsnag/panicwrap + diff --git a/golang-github-bugsnag-panicwrap.spec b/golang-github-bugsnag-panicwrap.spec index c29ae0f..3a0ec00 100644 --- a/golang-github-bugsnag-panicwrap.spec +++ b/golang-github-bugsnag-panicwrap.spec @@ -1,18 +1,18 @@ -# https://github.com/bugsnag/panicwrap -%global provider_prefix github.com/bugsnag/panicwrap -%global gobaseipath %{provider_prefix} +# http://github.com/bugsnag/panicwrap +%global goipath github.com/bugsnag/panicwrap %global commit aceac81c6e2f55f23844821679a0553b545e91df -%global commitdate 20160118 -%gocraftmeta -i +%gometa -i Name: %{goname} Version: 1.1.0 -Release: 0.8.%{commitdate}git%{shortcommit}%{?dist} +Release: 0.9%{?dist} Summary: Go library for catching and handling panics in Go applications License: MIT URL: %{gourl} Source0: %{gosource} +Source1: glide.lock +Source2: glide.yaml Patch0: change-import-path.patch %description @@ -28,26 +28,27 @@ BuildRequires: golang(bitbucket.org/kardianos/osext) This package contains library source intended for building other packages which use import path with -%{gobaseipath} prefix. +%{goipath} prefix. %prep %gosetup %patch0 -p1 +cp %{SOURCE1} %{SOURCE2} . %install -%goinstall +%goinstall glide.lock glide.yaml %check %gochecks -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - %files devel -f devel.file-list %license LICENSE %doc README.md %changelog +* Fri Jun 08 2018 Jan Chaloupka - 1.1.0-0.9.gitaceac81 +- Upload glide.lock and glide.yaml + * Wed Feb 28 2018 Jan Chaloupka - 1.1.0-0.8.20160118gitaceac81 - Autogenerate some parts using the new macros diff --git a/sources b/sources index 55e37bc..0badb94 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -30454481275f622beaece6d7ac14243d panicwrap-aceac81.tar.gz +SHA512 (panicwrap-aceac81c6e2f55f23844821679a0553b545e91df.tar.gz) = 49502cc981ae84438850fa3be37d29200f1c1f8f10f4ab6f4d2972f6e32806b590aab82647505bf7a4b546cf6230509906cb10e9bb6d5da6291246a2f7a34e57