On Sunday 2021-02-14 14:22, Martin Winter wrote:
Source0: OpenBoard-dev-qt5.1x.zip Source1: OpenBoard-tool-axes.tgz ...
%setup -q -n OpenBoard-dev-qt5.1x %setup -a 1 -T -D -n OpenBoard-dev-qt5.1x
The tar archive specified for Source1 does not contain that top level directory. It starts one level below. I therefore added the -a option to tell setup to unpack the archive **after** changing to the named directory. I added the "1" to refer to Source1, ok? I'm using -D to avoid that this directory is cleaned before unpacking. But why the hell do I have to specify the -T? The documentation says: "-T Disable the automatic unpacking of the archives." What does this mean?
%setup always unpacks source0. unless you use -T... so you've overcomplicated it already. One setup can unpack everything. Just %autosetup -a1 -n OpenBoard-dev-qt5.1x