De: "Panu Matilainen"
Hi Panu,
But don't override %setup. There's no need for such abuse
It is really pretty safe, the macro controls the downloaded file, the file structure is known, the only time it won't "just work" is when a spec needs to call %setup several times (in that case the arguments will be wrong for the second call).
BTW the macro know even more than that, it knows the archive filename for which setup needs specific arguments so it could be made 100% transparent and safe if it was possible to specify
"if archive == %{archivename}%{archiveext} change %setup to %setup %{?setupargs}"
Regards,