Browse Source

Build workarounds were fixed for trackomatron and gaia.

pull/1943/head
Greg Szabo 7 years ago
parent
commit
f529684277
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      devops/rpmbuild/Makefile

+ 3
- 2
devops/rpmbuild/Makefile View File

@ -78,7 +78,7 @@ build-ethermint: git-branch
build-trackomatron: git-branch build-trackomatron: git-branch
@echo "*** Building trackomatron" @echo "*** Building trackomatron"
go get -d -u go github.com/tendermint/trackomatron || echo "Workaround so there is no error message."
go get -d -u go github.com/tendermint/trackomatron/cmd/tracko
cd $(GOPATH)/src/github.com/tendermint/trackomatron && git checkout "$(GIT_BRANCH)" && git pull cd $(GOPATH)/src/github.com/tendermint/trackomatron && git checkout "$(GIT_BRANCH)" && git pull
$(MAKE) -C $(GOPATH)/src/github.com/tendermint/trackomatron get_vendor_deps install $(MAKE) -C $(GOPATH)/src/github.com/tendermint/trackomatron get_vendor_deps install
@echo "Workaround: trackomatron package has tracko as the binary - trackomatron needed to get the version number" && rm -rf $(GOPATH)/bin/trackomatron && ln -s $(GOPATH)/bin/tracko $(GOPATH)/bin/trackomatron @echo "Workaround: trackomatron package has tracko as the binary - trackomatron needed to get the version number" && rm -rf $(GOPATH)/bin/trackomatron && ln -s $(GOPATH)/bin/tracko $(GOPATH)/bin/trackomatron
@ -86,7 +86,7 @@ build-trackomatron: git-branch
build-gaia: git-branch build-gaia: git-branch
@echo "*** Building gaia" @echo "*** Building gaia"
go get -d -u go github.com/cosmos/gaia || echo "Workaround so there is no error message."
go get -d -u go github.com/cosmos/gaia
cd $(GOPATH)/src/github.com/cosmos/gaia && git checkout "$(GIT_BRANCH)" && git pull cd $(GOPATH)/src/github.com/cosmos/gaia && git checkout "$(GIT_BRANCH)" && git pull
$(MAKE) -C $(GOPATH)/src/github.com/cosmos/gaia get_vendor_deps install $(MAKE) -C $(GOPATH)/src/github.com/cosmos/gaia get_vendor_deps install
@echo "*** Built gaia" @echo "*** Built gaia"
@ -103,6 +103,7 @@ prepare-spec-%: version-%
package-rpm-%: prepare-spec-% package-rpm-%: prepare-spec-%
@echo "*** Packaging RPM $* version $($*_version)" @echo "*** Packaging RPM $* version $($*_version)"
script
rpmbuild -bb SPECS/$*.spec rpmbuild -bb SPECS/$*.spec
./sign RPMS/x86_64/$*-$($*_version)-$(BUILD_NUMBER).x86_64.rpm ./sign RPMS/x86_64/$*-$($*_version)-$(BUILD_NUMBER).x86_64.rpm
rpm -Kv RPMS/x86_64/$*-$($*_version)-$(BUILD_NUMBER).x86_64.rpm rpm -Kv RPMS/x86_64/$*-$($*_version)-$(BUILD_NUMBER).x86_64.rpm


Loading…
Cancel
Save