On Friday 30 December 2005 16:52, Aleksandar Milivojevic wrote:
Quoting Bowie Bailey Bowie_Bailey@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.