%global rev 133 ... %autosetup %{?rev:-c} ... but it doesn't really do `-c`. If I remove macro (%autosetup -c) it starts working
with %setup -q %{?rev:-c} it works fine.
IIRC this is "by design" for parameterized macros like %autosetup, %setup is not a macro even if it looks like one...
(In reply to Panu Matilainen from comment #2) > IIRC this is "by design" for parameterized macros like %autosetup, %setup is > not a macro even if it looks like one... Okay, but I think it's bug. We should expand such conditionals everywhere.
This is an upstream issue, lets move the discussion there: https://github.com/rpm-software-management/rpm/issues/127 I'm tempted to CLOSE -> UPSTREAM but we can keep this open for Fedora tracking if you like.
FWIW, fixed upstream now at https://github.com/rpm-software-management/rpm/commit/5adc56897b9da5dac49701f704ef54390db57c59 Lets see what breaks ;)