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

Re: Creating an RPM package from sources with paths that vary



On Thu, May 11, 2006 at 09:49:14AM -0400, Todd Tomaino wrote:
> example: release/01_00_03/wizbang
>          release/01_00_04/wizbang
> I am trying to decide if its best to write a script to gather the files
> into a single directory, with a known path, and use a spec file that is
> hard coded to that path to create the RPM. -- OR -- Possibly make the
> spec file smarter or somehow make it so that the path can be passed into
> the SPEC.  This would avoid the step of copying the files, and give me
> one less script to maintain.  I was wondering if anyone has been down
> this road before and can offer suggestions?

Why not just use the version in the spec file to automatically generate the
correct path?

-- 
Matthew Miller           mattdm mattdm org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


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