mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00

The RPM spec file will return value for %{?macro:value} if the macro is defined. This means you need to: %if %something %define macro 1 %else %undefine macro %endif which means you have to have more complex tests to check for the macro and its value. Therefore we support defined as true and defined and 0 as false.