From 571cebc826a77868cdb30456f5eab1fa0692478f Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Mon, 19 Jun 2017 17:15:38 +0000 Subject: [PATCH] RPM build repodata fix --- devops/rpmbuild/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devops/rpmbuild/Makefile b/devops/rpmbuild/Makefile index 0dab10846..2ad4863b5 100644 --- a/devops/rpmbuild/Makefile +++ b/devops/rpmbuild/Makefile @@ -137,8 +137,7 @@ install-rpm-%: version-% cp RPMS/x86_64/$*-$($*_version)-$(BUILD_NUMBER).x86_64.rpm tmp/s3/7/os/x86_64/Packages cp repofiles/RPM-GPG-KEY-Tendermint tmp/s3/7/os/x86_64/ cp repofiles/tendermint.repo tmp/s3/7/os/x86_64/ - rm -rf tmp/s3/7/os/x86_64/repodata - rm -f tmp/s3/7/os/x86_64/repodata/repomd.xml.asc + rm -f tmp/s3/7/os/x86_64/repodata/*.bz2 tmp/s3/7/os/x86_64/repodata/*.gz tmp/s3/7/os/x86_64/repodata/repomd.xml.asc createrepo tmp/s3/7/os/x86_64/Packages -u http://tendermint-packages.s3-website-us-west-1.amazonaws.com/centos/7/os/x86_64/Packages -o tmp/s3/7/os/x86_64 --update -S --repo Tendermint --content tendermint --content basecoin --content ethermint gpg --batch --passphrase "$(GPG_PASSPHRASE)" --sign -a tmp/s3/7/os/x86_64/repodata/repomd.xml aws s3 sync tmp/s3/ s3://tendermint-packages/centos/ --acl public-read