summaryrefslogtreecommitdiff
path: root/.copr
diff options
context:
space:
mode:
authorChandan Kumar (raukadah) <raukadah@gmail.com>2019-11-29 16:28:30 +0530
committerChandan Kumar (raukadah) <raukadah@gmail.com>2019-12-03 07:57:50 +0530
commit1414a063f5f198dd165fcfabc1afd4cb008ba402 (patch)
tree8ba41477f362e8a88848628fe007bfcc05e15bf7 /.copr
parent7f53178a7dc7cfa947896f61a3198cc6e8759eda (diff)
downloadpodman-1414a063f5f198dd165fcfabc1afd4cb008ba402.tar.gz
podman-1414a063f5f198dd165fcfabc1afd4cb008ba402.tar.bz2
podman-1414a063f5f198dd165fcfabc1afd4cb008ba402.zip
Updates on making doc building and debug optional
It changes the podman spec from using with_doc to bcond_without for building docs so that anyone can pass --without doc as well as other rpmbuild args to the build_rpm.sh script to skip building docs. Since go-md2man is not available in CentOS8 repo. without the help fo extra_args, it makes it conditional. It also moves the manpages to a seperate package. Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
Diffstat (limited to '.copr')
-rw-r--r--.copr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.copr/Makefile b/.copr/Makefile
index 71142920b..465a52b15 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -8,11 +8,11 @@ SHORT_COMMIT ?= $(shell git rev-parse --short=8 HEAD)
srpm:
mkdir -p $(topdir)
sh $(current_dir)/prepare.sh
- rpmbuild -bs -D "dist %{nil}" -D "_sourcedir build/" -D "_srcrpmdir $(outdir)" -D "_topdir $(topdir)" --nodeps contrib/spec/podman.spec
+ rpmbuild -bs -D "dist %{nil}" -D "_sourcedir build/" -D "_srcrpmdir $(outdir)" -D "_topdir $(topdir)" --nodeps ${extra_arg:-""} contrib/spec/podman.spec
build_binary:
mkdir -p $(topdir)
- rpmbuild --rebuild -D "_rpmdir $(outdir)" -D "_topdir $(topdir)" $(outdir)/podman-*.git$(SHORT_COMMIT).src.rpm
+ rpmbuild --rebuild -D "_rpmdir $(outdir)" -D "_topdir $(topdir)" ${extra_arg:-""} $(outdir)/podman-*.git$(SHORT_COMMIT).src.rpm
clean:
rm -fr rpms