Browse Source

upgrading package: opa 0.9.2.20180924 -> 0.10.0.20181026

master
parent
commit
3e8d242d83
  1. 21
      opa/opa.patch
  2. 6
      opa/opa.spec

21
opa/opa.patch

@ -1,10 +1,21 @@
Index: src/github.com/open-policy-agent/opa/Makefile
--- src/github.com/open-policy-agent/opa/Makefile.orig 2018-08-01 09:12:35.624165000 +0200
+++ src/github.com/open-policy-agent/opa/Makefile 2018-08-01 09:17:41.003576000 +0200
@@ -53,7 +53,7 @@
--- src/github.com/open-policy-agent/opa/Makefile.orig 2018-10-26 06:47:59.000000000 +0200
+++ src/github.com/open-policy-agent/opa/Makefile 2018-10-26 06:51:40.057908000 +0200
@@ -9,8 +9,8 @@
GOARCH := $(shell go env GOARCH)
GOOS := $(shell go env GOOS)
.PHONY: build
build: generate
-DOCKER_INSTALLED := $(shell hash docker 2>/dev/null && echo 1 || echo 0)
-DOCKER := docker
+DOCKER_INSTALLED := 0
+DOCKER := true
BIN := opa_$(GOOS)_$(GOARCH)
@@ -66,7 +66,7 @@
.PHONY: go-build
go-build: generate
- $(GO) build -o $(BIN) -ldflags $(LDFLAGS)
+ $(GO) build -x -o $(BIN) -ldflags $(LDFLAGS)

6
opa/opa.spec

@ -22,8 +22,8 @@
##
# package version
%define V_opa_base 0.9.2
%define V_opa_snap 20180924
%define V_opa_base 0.10.0
%define V_opa_snap 20181026
# package information
Name: opa
@ -36,7 +36,7 @@ Class: EVAL
Group: Networking
License: Apache
Version: %{V_opa_base}.%{V_opa_snap}
Release: 20180924
Release: 20181026
# list of sources
Source0: http://download.openpkg.org/components/versioned/opa/opa-%{V_opa_snap}.tar.xz

Loading…
Cancel
Save