/root/.rpmmacro

Chadley Wilson chadley at pinteq.co.za
Wed Sep 29 04:23:26 UTC 2004


On Tuesday 28 September 2004 21:24, Stuart Sears wrote:
> On Tue 28 September 2004 10:45, Paul Howarth wrote:
> > Chadley Wilson wrote:
> > > Seems I have learn't a new trick today, but you must excuse the
> > > stupidty here, The rpmmacro I was actually looking for was the one to
> > > solve dependancies on a directory, it is pretty cool,
> > > I reloaded today and lost it. I normally copy my apt archive directory
> > > to the server and when I preload machines I copy the macro to /root
> > > folder, the my script that runs does an rpm -Uvh --aid <selected
> > > packages> and rpm -ivh --aid <other packages>
> > > and this way all the packages i plonk in that directory are
> > > automatically installed on each new machine.
>
> I beleive what you are looking for is something like this:
> %_solve_pkgsdir   /path/to/your/rpms
> %_solve_name_fmt %{?_solve_pkgsdir}/%%{NAME}-%%{VERSION}-%%{RELEASE}.
> %%{ARCH}.rpm
>
> (the second line will wrap)
> HTH
>
> Stuart
> --

Spot on  :-)
Thank you!
Whats an RHCX?
> Stuart Sears RHCE, RHCX
> Quidquid latine dictum sit, altum viditur

-- 
Chadley Wilson
Redhat Certified Technician 
Cert Number: 603004708291270
Pinnacle Micro
Manufacturers of Proline Computers
====================================
Exercise freedom, Use LINUX
=====================================




More information about the fedora-list mailing list