mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-13 10:23:41 +00:00
Old-ish versions of RPM fail fatally with an error with stuff like two
different Name keys, which we use sometimes for bootstrap. Add %if\w*,
%else, %endif to GOOD to handle these.
However, we do want to enable as many lines as possible. Therefore,
replace "%if*" with "%if 1" so that stuff like "%if %{with bootstrap}"
gets included.
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn>