[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Multiple Sources
- From: Jason Frisvold <xenophage0 gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Multiple Sources
- Date: Sat, 1 Jan 2005 23:38:54 -0500
Hi all,
I've created an SRPM for a program called osiris (osiris.shmoo.com).
During the creation I wanted to add in 2 additional modules which come
in separate .tar.gz files. These are intended to be extracted to a
directory within the osiris source.
So.. onto my predicament.. In order to get the source to extract into
the correct place, I used the following in my %prep block :
%setup -q -b0 -n %{name}-%{version}
%setup -q -D -T -a1 -n %{name}-%{version}/src/osirisd/modules
%setup -q -D -T -a2 -n %{name}-%{version}/src/osirisd/modules
However, when the prep block is complete, the %build block is run
within the last directory specified with -n.
In order to make it work, I had to do the following instead :
%setup -q -a1 -c -n %{name}-%{version}/src/osirisd/modules
%setup -q -D -T -a2 -n %{name}-%{version}/src/osirisd/modules
%setup -q -D -T -b0 -n %{name}-%{version}
So, is this the proper way to handle this, or should I be doing something else?
Thanks!
--
Jason 'XenoPhage' Frisvold
XenoPhage0@gmail.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]