[Rpm-maint] [rpm-software-management/rpm] Docs: Revamp BUILD OPTIONS section in rpmbuild(8) (#1318)

Michal Domonkos notifications at github.com
Thu Jul 23 09:35:02 UTC 2020


@dmnks commented on this pull request.



> @@ -256,6 +266,18 @@ options are currently set in
 \fIrpmrc\fR and
 \fImacros\fR
 configuration file(s).
+.SS "DYNAMIC BUILD REQUIREMENTS"
+.PP
+When the %generate_buildrequires stage is executed and some of the resulting
+requirements are not satisfied, \fBrpmbuild\fR exits with code 11 and does not
+create the source package.
+Instead, a package ending with \fIbuildreqs.nosrc.rpm\fR is created, which has
+all the build requirements, including the newly generated ones.

Ah, I see. The [dummy spec](https://github.com/rpm-software-management/rpm/files/3911787/dummy-pkg.spec.txt) that @hrnciar provided in the related issue actually does exactly that.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1318#discussion_r459327199
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200723/3d2bcb89/attachment.html>


More information about the Rpm-maint mailing list