summaryrefslogtreecommitdiff
path: root/contrib/build_rpm.sh
diff options
context:
space:
mode:
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