Repository: incubator-trafficcontrol Updated Branches: refs/heads/1.8.x 2acea69f8 -> 20d7e37b5
remove cpanm, git, go from requires in rpm spec file -- need to have user install these separately (cherry picked from commit 537d3fd61e1490aa3e0362025f24cc9aa5f76c84) Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/f305e150 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/f305e150 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/f305e150 Branch: refs/heads/1.8.x Commit: f305e1505e70a0945c01784f2a88f90d139d0c17 Parents: 2acea69 Author: Dan Kirkwood <dang...@gmail.com> Authored: Thu Jan 5 12:08:02 2017 -0700 Committer: Dan Kirkwood <dang...@gmail.com> Committed: Fri Jan 6 10:10:05 2017 -0700 ---------------------------------------------------------------------- traffic_ops/build/traffic_ops.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f305e150/traffic_ops/build/traffic_ops.spec ---------------------------------------------------------------------- diff --git a/traffic_ops/build/traffic_ops.spec b/traffic_ops/build/traffic_ops.spec index bbb571e..1922ce6 100644 --- a/traffic_ops/build/traffic_ops.spec +++ b/traffic_ops/build/traffic_ops.spec @@ -32,7 +32,7 @@ URL: https://github.com/Comcast/traffic_control/ Vendor: Comcast Packager: daniel_kirkwood at Cable dot Comcast dot com AutoReqProv: no -Requires: expat-devel, mod_ssl, mkisofs, libpcap-devel, mysql, openssl, perl-core, perl-DBI, perl-DBD-MySQL, perl-Digest-SHA1, perl-WWW-Curl, perl-libwww-perl, cpanminus, git, go +Requires: expat-devel, mod_ssl, mkisofs, libpcap-devel, mysql, openssl, perl-core, perl-DBI, perl-DBD-MySQL, perl-Digest-SHA1, perl-WWW-Curl, perl-libwww-perl Requires(pre): /usr/sbin/useradd, /usr/bin/getent Requires(postun): /usr/sbin/userdel @@ -99,13 +99,6 @@ Built: %(date) by %{getenv: USER} fi %post - # Install Perl modules required for postinstall to run - cpanm -n Term::ReadPassword JSON - - # Install goose for db migrations - export GOPATH="/opt/traffic_ops/install" - go get bitbucket.org/liamstask/goose/cmd/goose - %__cp %{PACKAGEDIR}/etc/init.d/traffic_ops /etc/init.d/traffic_ops %__cp %{PACKAGEDIR}/etc/cron.d/trafops_dnssec_refresh /etc/cron.d/trafops_dnssec_refresh %__cp %{PACKAGEDIR}/etc/logrotate.d/traffic_ops /etc/logrotate.d/traffic_ops