RPMbuild mystery parameters "--with" and "--without"

Ville Skyttä ville.skytta at iki.fi
Mon Jan 20 15:03:57 UTC 2014


On Mon, Jan 20, 2014 at 4:24 PM, Björn Persson
<bjorn at xn--rombobjrn-67a.se> wrote:
> Apparently RPMbuild has a pair of parameters "--with" and "--without"
> that can supposedly enable and disable optional features in a package.
> Has anyone seen any documentation that explains how those work and how
> they interact with a spec file?

See /usr/share/doc/rpm*/conditionalbuilds and "Conditional build
stuff" in /usr/lib/rpm/macros.


More information about the devel mailing list