summaryrefslogtreecommitdiff
path: root/contrib/build_rpm.sh
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-08-07 11:57:35 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-07 20:23:53 +0000
commit69a741817b2697fd408a8b44b6331cf07c3511ec (patch)
tree1f399de5a99ed9f4e6e24edcce25330e0baa29c7 /contrib/build_rpm.sh
parent7d43e7c451d79c0e110bdb60a398ad083720c48b (diff)
downloadpodman-69a741817b2697fd408a8b44b6331cf07c3511ec.tar.gz
podman-69a741817b2697fd408a8b44b6331cf07c3511ec.tar.bz2
podman-69a741817b2697fd408a8b44b6331cf07c3511ec.zip
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 <bbaude@redhat.com> Closes: #1230 Approved by: rhatdan
Diffstat (limited to 'contrib/build_rpm.sh')
-rw-r--r--contrib/build_rpm.sh23
1 files changed, 23 insertions, 0 deletions
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