Re: /root/.rpmmacro

From: Chadley Wilson (chadley_at_pinteq.co.za)
Date: 09/29/04

  • Next message: CB: "Re: How to find missing libraries when compiling apps [SOLVED]"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Wed, 29 Sep 2004 06:23:26 +0200
    
    

    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
    =====================================
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: CB: "Re: How to find missing libraries when compiling apps [SOLVED]"