Re: /root/.rpmmacro

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

 



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
=====================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux