[Rpm-maint] [rpm-software-management/rpm] conditional builds with underscrore don't have _without option (Issue #1929)
Panu Matilainen
notifications at github.com
Thu Oct 26 11:34:25 UTC 2023
The manual explicitly states:
```
Alternatively, you can test the presence (or lack thereof) of %with_foo macros which is nicer in other situations, e.g.:
%configure \
%{?with_static:--enable-static} \
%{!?with_static:--disable-static}
Always test for the with-condition, not the without-counterpart!
```
Doing something undocumented and expecting it to work usually doesn't. This all works fine AFAICS, just stick to what is documented.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1929#issuecomment-1780938580
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/1929/1780938580 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231026/9d481bba/attachment-0001.html>
More information about the Rpm-maint
mailing list