From: "H. Peter Anvin" <hpa@zytor.com> Date: 2016-06-15 22:42:12
Petr Baudis wrote:
Actually, can you have some kind of %if in specfiles? Then you could
keep everything in the specfile and just pass it whatever system you
want to build for.
Sure. It's called %if. There is also %ifdef and %define.
-hpa