From 3c6541a5cf2eb859ade9e78e938bc13394969e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 12 Nov 2024 18:04:23 +0100 Subject: [PATCH] Document chroot-specific with_opts/without_opts options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nikola Forró --- docs/configuration/upstream/copr_build.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/configuration/upstream/copr_build.md b/docs/configuration/upstream/copr_build.md index a8b1b20df4..cfa0ba14ed 100644 --- a/docs/configuration/upstream/copr_build.md +++ b/docs/configuration/upstream/copr_build.md @@ -141,19 +141,24 @@ jobs: additional_repos: - http://koji.katello.org/releases/yum/foreman-nightly/el8/x86_64/ additional_modules: "foreman:el8,ruby:2.7,nodejs:12,postgresql:12" + without_opts: + - check fedora-rawhide: {} fedora-37: {} ``` In this case, both Fedora targets don't have anything specific and would use packages and modules from the base distro, while CentOS Stream 8 will use a -custom yum repo and 4 specific modules. +custom yum repo, 4 specific modules and it will have `--without check` passed +to rpmbuild. You can define these three options: * `additional_packages` (list) – install additional packages before the build * `additional_repos` (list) – enable these yum repositories before installing any packages * `additional_modules` (str) – enable these modules before installing packages, specified as comma-separated string: `MODULE:STREAM,MODULE2:STREAM2,...` +* `with_opts` (list) – build with these rpmbuild `--with` options +* `without_opts` (list) – build with these rpmbuild `--without` options ## Available Copr build targets