trying to unpack multiple sources

Jos Vos jos at
Mon Dec 8 22:08:04 UTC 2008

On Mon, Dec 08, 2008 at 04:03:37PM -0600, Greg_Swift at wrote:

> > Doesn't this work:
> >
> > %setup -c -a 1 -a 2 -a 3 -a 4 -a 5
> give the man a prize!  Now, is that documented, do you know where?  Cause I
> didn't see it in the places I normally look.

Well, I'm also teaching RPM courses too, so I should know ;-).

You can extract it from the documentation I think.  Be aware of the fact
that %setup can be used only once.  Everything that can't be done via
%setup (e.g. extracting sources in different subdirectories) should be
done "manually" (with commands like "tar -xf %{SOURCE1}" etc.).

--    Jos Vos <jos at>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

More information about the Rpm-list mailing list