> @nim-nim, but isn't that just about exactly what %setup by default does?
Not really, since the chainbuilding interferes `%setup` reuse with the next
archive
People just want to align
```specfile
%somesetup -z 1
%somesetup -z 2
%somesetup -z 3
```
Like they align path or source declarations
And they want to have some simple way to set the primary root where `%build`
will chdir and various other macros like autodeps will look for generated files.
They do *not* want to use one macro for `Source0` and switch to something else
for other sources.
They do *not* want this simple stupid natural pattern to have weird side
effects because the expansion macro was really designed for a chainbuilding
that almost not one actually uses or need.
> Calling it once with no fancy arguments will unpack the first source and
> define %_buildsubdir,
No it won't, the variable is not really set before %build and rpm will
overwrite any attempt to set it manually.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/551#issuecomment-425168207
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint