Re: trying to unpack multiple sources

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

 



> > > 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.).

Ahh... the one line only is what got me.  The Fedora RPM Guide made it seem
like it was automatic[1], and this older
guide made it look like you could run %setup more than once[2] (my bad for
using a reference from 2001).

thanks again.

[1]
http://docs.fedoraproject.org/drafts/rpm-guide-en/ch09s04.html#id2971580
[2] http://rpm.rutgers.edu/guide.html %prep section

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux