From 69a741817b2697fd408a8b44b6331cf07c3511ec Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 7 Aug 2018 11:57:35 -0500 Subject: Test regressions against the RPM spec file We need to make sure we dont break the RPM spec files week-to-week. If we do, the packagers need to have a place to look at what changes are needed to the SPEC so they can pull the changes into the distributions. Signed-off-by: baude Closes: #1230 Approved by: rhatdan --- contrib/build_rpm.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 contrib/build_rpm.sh (limited to 'contrib/build_rpm.sh') diff --git a/contrib/build_rpm.sh b/contrib/build_rpm.sh new file mode 100644 index 000000000..8bcd4b87e --- /dev/null +++ b/contrib/build_rpm.sh @@ -0,0 +1,23 @@ +#!/bin/bash +set -x +dnf -y install device-mapper-devel \ + git \ + glib2-devel \ + glibc-static \ + golang \ + golang-github-cpuguy83-go-md2man \ + gpgme-devel \ + libassuan-devel \ + libseccomp-devel \ + libselinux-devel \ + make \ + ostree-devel \ + golang-github-cpuguy83-go-md2man \ + rpm-build \ + btrfs-progs-devel \ + python3-devel \ + python3-varlink \ + go-compilers-golang-compiler + +make -f .copr/Makefile +rpmbuild --rebuild podman-*.src.rpm -- cgit v1.2.3-54-g00ecf