Upload glide.lock and glide.yaml

This commit is contained in:
Jan Chaloupka 2018-06-08 22:55:13 +02:00
parent 0aac985ac8
commit ea22735a3f
5 changed files with 24 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/panicwrap-aceac81.tar.gz
/panicwrap-aceac81c6e2f55f23844821679a0553b545e91df.tar.gz

5
glide.lock generated Normal file
View File

@ -0,0 +1,5 @@
hash: e3c3fc42b9996c25ec831d1955b80dbd9ffb4a2ae220bd176597d2a164e18cea
imports:
- name: github.com/bugsnag/osext
version: 0dd3f918b21bec95ace9dc86c7e70266cfc5c702
updated: '2018-06-08T20:52:06.597545+00:00'

5
glide.yaml Normal file
View File

@ -0,0 +1,5 @@
import:
- package: github.com/bugsnag/osext
version: 0dd3f918b21bec95ace9dc86c7e70266cfc5c702
package: github.com/bugsnag/panicwrap

View File

@ -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 <jchaloup@redhat.com> - 1.1.0-0.9.gitaceac81
- Upload glide.lock and glide.yaml
* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 1.1.0-0.8.20160118gitaceac81
- Autogenerate some parts using the new macros

View File

@ -1 +1 @@
30454481275f622beaece6d7ac14243d panicwrap-aceac81.tar.gz
SHA512 (panicwrap-aceac81c6e2f55f23844821679a0553b545e91df.tar.gz) = 49502cc981ae84438850fa3be37d29200f1c1f8f10f4ab6f4d2972f6e32806b590aab82647505bf7a4b546cf6230509906cb10e9bb6d5da6291246a2f7a34e57