summaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorsacha <sachahony@gmail.com>2019-10-01 10:59:46 +0200
committerPanu Matilainen <pmatilai@redhat.com>2022-02-16 16:28:38 +0200
commitc8865bffaba432e3a6064cfecb1f263646a0bcaa (patch)
treeeedf0183870b304b7d8ab1ff69afed81c9a51e9e /docs/man
parent885c5edb4d5a440f2136f66dffbe4ee06f3324fa (diff)
downloadrpm-c8865bffaba432e3a6064cfecb1f263646a0bcaa.tar.gz
Allow rpmbuild to only check build dependencies
without building anything if everything is ok. This is similar to the -br, -tr, -rr family of commands that run the dynamic build dependency generator and check for missing build requires. But the newly added -bd,-td,-rd will only create the buildreqs.nosrc.rpm package on missing dynamic build requirements and nothing else. This is a much cheaper operation for packages with large sources where creating a source rpm needlessly may be undesired. For now there is no way to skip the creation of the buildreqs.nosrc.rpm package. But it is cheap to create for reasonable amounts of build requires. Co-authored-by: Florian Festi <ffesti@redhat.com>
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/rpmbuild.8.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/man/rpmbuild.8.md b/docs/man/rpmbuild.8.md
index 2c36fbfed..09efa6426 100644
--- a/docs/man/rpmbuild.8.md
+++ b/docs/man/rpmbuild.8.md
@@ -15,13 +15,13 @@ SYNOPSIS
BUILDING PACKAGES:
------------------
-**rpmbuild** {**-ba\|-bb\|-bp\|-bc\|-bi\|-bl\|-bs\|-br**}
+**rpmbuild** {**-ba\|-bb\|-bp\|-bc\|-bi\|-bl\|-bs\|-br\|-bd**}
\[**rpmbuild-options**\] *SPECFILE \...*
-**rpmbuild** {**-ra\|-rb\|-rp\|-rc\|-ri\|-rl\|-rs\|-rr**}
+**rpmbuild** {**-ra\|-rb\|-rp\|-rc\|-ri\|-rl\|-rs\|-rr\|-rd**}
\[**rpmbuild-options**\] *SOURCEPACKAGE \...*
-**rpmbuild** {**-ta\|-tb\|-tp\|-tc\|-ti\|-tl\|-ts\|-tr**}
+**rpmbuild** {**-ta\|-tb\|-tp\|-tc\|-ti\|-tl\|-ts\|-tr\|-td**}
\[**rpmbuild-options**\] *TARBALL \...*
**rpmbuild** {**\--rebuild\|\--recompile**} *SOURCEPKG \...*
@@ -192,6 +192,11 @@ all the stages preceding it), and is one of:
be used to fully resolve dynamic build dependencies. See the DYNAMIC
BUILD DEPENDENCIES section for details.
+**-bd**
+
+: Check dynamic build dependencies and build the .buildreqs.nosrc.rpm
+ package if any are missing. Don't build anything else.
+
The following options may also be used:
**\--buildroot ***DIRECTORY*