extracting multiple sources in %setup

Nicolas Mailhot nicolas.mailhot at laposte.net
Thu Oct 22 07:55:02 UTC 2009



Le Jeu 22 octobre 2009 09:46, Marcus Moeller a écrit :

> 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

If you have multiple sources that's usually a sign you're doing something
wrong. It is very dangerous to aggregate sources from different upstreams in a
single rpm (release cycle and legal problems), or to group sources upstream
split (usually for ease of maintenance reasons)

-- 
Nicolas Mailhot





More information about the fedora-devel-list mailing list