[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
question about BuildRoot
- From: rpjday <rpjday mindspring com>
- To: rpm list <rpm-list redhat com>
- Subject: question about BuildRoot
- Date: Sat, 29 Dec 2001 07:47:11 -0500 (EST)
as i understand it, the BuildRoot directive lets me create
the entire RPM file and directory structure elsewhere before
creating the RPM. but is it necessary to create the *entire*
RPM directory structure relative to the root? or is there
a shortcut?
say i want to build an RPM that will install a directory of
files in /a/b/c/<dir>. using BuildRoot, i can certainly build a
directory of the form /home/me/rpm/BUILD/<rpmname>/a/b/c/<dir>,
with a BuildRoot of /home/me/rpm/BUILD/<rpmname>.
but what if i already have the structure /x/y/z/<dir>?
is there a way to point at that directory, strip the leading
/x/y/z and have the build add back on the /a/b/c prefix
when creating the RPM? or am i pushing my luck?
rday
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]