rpmbuild anaconda

$ echo "%_topdir     /home/$USER/anaconda/rpm" > ~/.rpmmacros

$ cd ~/anaconda
$ mkdir -p rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

$ rpm -i anaconda-11.1.2.113-1.el5.centos.2.src.rpm   #extract source

$ cd rpm/SPECS

$ rpmbuild -ba anaconda.spec

Building loader

$ cd rpm/BUILD/anaconda-11.1.2.209/loader2
$ make loader

No comments: