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/1780938...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint