You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by jv...@apache.org on 2017/01/20 15:17:07 UTC

[1/2] incubator-trafficcontrol git commit: install/go compiles removed from rpm spec

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master 6f8a062c7 -> 62c5a5cbf


install/go compiles removed from rpm spec


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/4138beeb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/4138beeb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/4138beeb

Branch: refs/heads/master
Commit: 4138beeb2d9a03de4761eeed7b9c655d9cc4ec17
Parents: 6f8a062
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Jan 19 20:48:25 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Jan 19 21:25:34 2017 -0700

----------------------------------------------------------------------
 traffic_ops/build/traffic_ops.spec | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4138beeb/traffic_ops/build/traffic_ops.spec
----------------------------------------------------------------------
diff --git a/traffic_ops/build/traffic_ops.spec b/traffic_ops/build/traffic_ops.spec
index b559b21..b1ca3f6 100644
--- a/traffic_ops/build/traffic_ops.spec
+++ b/traffic_ops/build/traffic_ops.spec
@@ -53,18 +53,6 @@ Built: %(date) by %{getenv: USER}
 %build
     # update version referenced in the source
     perl -pi.bak -e 's/__VERSION__/%{version}-%{release}/' app/lib/UI/Utils.pm
-    # compile go executables used during postinstall
-    # suppress strip of go execs
-    %define debug_package %{nil}
-
-    export GOPATH="$(pwd)/install/go"
-    export GOBIN="$(pwd)/install/bin"
-
-    echo "Compiling go executables"
-    for d in install/go/src/comcast.com/*; do
-	(cd "$d" && go get -ldflags "-B 0x%{commit}" -v ) || \
-	    { echo "Could not compile $d"; exit 1; }
-    done
 
 %install
 
@@ -166,6 +154,5 @@ fi
 %{PACKAGEDIR}/app/public
 %{PACKAGEDIR}/app/templates
 %{PACKAGEDIR}/install
-%exclude %{PACKAGEDIR}/install/go
 %{PACKAGEDIR}/etc
 %doc %{PACKAGEDIR}/doc


[2/2] incubator-trafficcontrol git commit: This closes #203

Posted by jv...@apache.org.
This closes #203


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/62c5a5cb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/62c5a5cb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/62c5a5cb

Branch: refs/heads/master
Commit: 62c5a5cbf0107a36020d28cca71896705e326acf
Parents: 4138bee
Author: Jan van Doorn <ja...@cable.comcast.com>
Authored: Fri Jan 20 08:15:16 2017 -0700
Committer: Jan van Doorn <ja...@cable.comcast.com>
Committed: Fri Jan 20 08:15:16 2017 -0700

----------------------------------------------------------------------

----------------------------------------------------------------------