| |
@@ -1,22 +1,21 @@
|
| |
# http://github.com/prometheus/common
|
| |
|
| |
%global goipath github.com/prometheus/common
|
| |
- %global commit 49fee292b27bfff7f354ee0f64e1bc4850462edf
|
| |
+ %global commit 38c53a9f4bfcd932d1b00bfc65e256a7fba6b37a
|
| |
|
| |
|
| |
%gometa -i
|
| |
|
| |
Name: %{goname}
|
| |
Version: 0
|
| |
- Release: 0.13%{?dist}
|
| |
+ Release: 0.14%{?dist}
|
| |
Summary: Go libraries shared across Prometheus components and libraries
|
| |
License: ASL 2.0
|
| |
URL: %{gourl}
|
| |
Source0: %{gosource}
|
| |
Source1: glide.yaml
|
| |
- Source2: glide.yaml
|
| |
+ Source2: glide.lock
|
| |
Patch0: change-import-path.patch
|
| |
- Patch1: Fix-formatting-errors.patch
|
| |
|
| |
%description
|
| |
%{summary}
|
| |
@@ -32,6 +31,8 @@
|
| |
BuildRequires: golang(github.com/prometheus/client_golang/prometheus)
|
| |
BuildRequires: golang(github.com/prometheus/client_model/go)
|
| |
BuildRequires: golang(golang.org/x/net/context)
|
| |
+ BuildRequires: golang(gopkg.in/alecthomas/kingpin.v2)
|
| |
+ BuildRequires: golang(gopkg.in/yaml.v2)
|
| |
BuildRequires: golang(bitbucket.org/ww/goautoneg)
|
| |
|
| |
%description devel
|
| |
@@ -44,15 +45,15 @@
|
| |
%prep
|
| |
%gosetup -q
|
| |
cp %{SOURCE1} %{SOURCE2} .
|
| |
- %patch0 -p1
|
| |
- %patch1 -p1
|
| |
+ #%patch0 -p1
|
| |
+ #%patch1 -p1
|
| |
|
| |
%install
|
| |
%goinstall glide.lock glide.yaml
|
| |
#rm -f log/eventlog_formatter.go
|
| |
|
| |
%check
|
| |
- %gochecks -d config -d log
|
| |
+ %gochecks
|
| |
|
| |
#define license tag if not already defined
|
| |
%{!?_licensedir:%global license %doc}
|
| |
@@ -62,6 +63,10 @@
|
| |
%doc *.md
|
| |
|
| |
%changelog
|
| |
+ * Wed Jun 27 2018 Paul Gier <pgier@redhat.com> - 0-0.14.git38c53a9
|
| |
+ - Update to newer snapshot version
|
| |
+ - Enable checks for config and log dirs
|
| |
+
|
| |
* Tue Jun 26 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.13.git49fee29
|
| |
- Upload glide files
|
| |
|
| |
also, enable checks for config and log directories
scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=27903213