[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: extracting multiple sources in %setup



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]