extracting multiple sources in %setup

Orcan Ogetbil oget.fedora at gmail.com
Thu Oct 22 07:55:51 UTC 2009


On Thu, Oct 22, 2009 at 3:46 AM, Marcus Moeller wrote:
> Hi,
>
> is there a way to extract multiple sources in a spec files %setup section?
>
> Something like:
>
> for i in {1..10}; do tar xfz %(SOURCE$i}; done
>
> Best Regards
> Marcus
>

%setup -q -c -n %{name} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10

should work. I don't if there's any nicer way.

Orcan




More information about the fedora-devel-list mailing list