Browse Source

upgrading package: traefik 1.7.14.20190815 -> 2.0.4.20191029

Ralf S. Engelschall 6 years ago
parent
commit
de6fa7d18b
1 changed files with 8 additions and 6 deletions
  1. 8 6
      traefik/traefik.spec

+ 8 - 6
traefik/traefik.spec

@@ -22,8 +22,8 @@
 ##
 
 #   package version
-%define       V_traefik_base 1.7.14
-%define       V_traefik_snap 20190815
+%define       V_traefik_base 2.0.4
+%define       V_traefik_snap 20191029
 
 #   package information
 Name:         traefik
@@ -36,7 +36,7 @@ Class:        EVAL
 Group:        Networking
 License:      MIT
 Version:      %{V_traefik_base}.%{V_traefik_snap}
-Release:      20190815
+Release:      20191029
 
 #   list of sources
 Source0:      http://download.openpkg.org/components/versioned/traefik/traefik-%{V_traefik_snap}.tar.xz
@@ -73,10 +73,12 @@ PreReq:       OpenPKG, openpkg >= 20160101
 %build
     #   build program
     export GOPATH=`pwd`
+    sed -i \
+        -e 's;github.com/Sirupsen/logrus;github.com/sirupsen/logrus;' \
+        src/github.com/rancher/go-rancher-metadata/tests/metadata_test.go \
+        src/github.com/rancher/go-rancher-metadata/metadata/change.go \
+        src/github.com/rancher/go-rancher-metadata/main.go
     cd src/github.com/containous/traefik
-    rm -rf vendor/github.com/docker/docker/vendor/github.com/opencontainers
-    rm -rf vendor/github.com/docker/distribution/vendor/github.com/opencontainers
-    rm -rf vendor/github.com/docker/docker/vendor/github.com/docker
     %{l_bash} script/generate
     %{l_bash} script/binary