[Rpm-maint] [rpm-software-management/rpm] RFE OptionalBuildRequires (#577)

Tom de Vries notifications at github.com
Mon Oct 22 08:27:20 UTC 2018


> You're basically asking for `BuildRecommends`?

You're referring to ["BuildRecommends proposal"](https://www.redhat.com/archives/rpm-list/2001-June/msg00193.html). Thanks for pointing that out.

Indeed, that looks very similar.

There is a difference though: the BuildRecommends tag naming suggest that using the dependency is the desirable situation, and therefore the proposal adds options "--pedantic" (as well as "--quiet"), and generates an error with "--pedantic".

The OptionalBuildRequires tag expresses a take it or leave it approach, and would generate a note when not including the dependency, but would not result in an error.

So the difference is in policy of how to handle the absence of the dependency.

-- 
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/issues/577#issuecomment-431767111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181022/2ac24da4/attachment.html>


More information about the Rpm-maint mailing list