Closed #2180 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2180#event-10843586067
You are receiving this because you are subscribed to this thread.
Message ID:
___
Rpm-maint m
Like noted above, there are various ways to achieve this already. If macro
arrays (#1825) ever get implemented, then this might become more
relevant/feasible. Closing for now though.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2180
Even shorter, using bash arrays:
```
read -r -a SRC <<< "%{sources}"
cp -a ${SRC[@]:1} .
```
Technically it'd be possible to add min and max parameters to the %sources and
%patches macros similar to %autopatch, but the added complexity doesn't seem
warranted here because there are already tools