[CentOS] RPMS's rebuilt or upstream one's used

Sat Dec 31 03:59:39 UTC 2005
Lamar Owen <lowen at pari.edu>

On Friday 30 December 2005 16:52, Aleksandar Milivojevic wrote:
> Quoting Bowie Bailey <Bowie_Bailey at BUC.com>:
> > I just use this quick procedure:
> >
> >    mkdir $HOME/rpm
> >    mkdir $HOME/rpm/SOURCES
> >    mkdir $HOME/rpm/SPECS
> >    mkdir $HOME/rpm/BUILD
> >    mkdir $HOME/rpm/SRPMS
> >    mkdir $HOME/rpm/RPMS
> >    mkdir $HOME/rpm/RPMS/i386
> >    echo "%_topdir    $HOME/rpm" >> $HOME/.rpmmacros
>
> Yeah...  sure...  If you can live with the mess you get with that directory
> structure ;-)

If you're only building half a dozen to a couple of dozen RPMs, this structure 
works just fine.  I released PostgreSQL RPMs for five years doing it that 
way.  At the same time, I built several other RPMsets, both for release and 
for personal use, small and large packages alike (including kernels for 
non-Intel archs from source RPM)....

If you're building a distribution, you need something much more sophisticated, 
for sure.  But for a handful, this is the easy way to do it.
-- 
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC  28772
(828)862-5554
www.pari.edu