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

question about BuildRoot



  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] []