Florent BERANGER wrote on Mon, Nov 04, 2002 at 05:32:30PM +0100 :
>  
> Who can send me the procedure ? 

It's already there if you have installed the rpm-rebuilder package.
Look at /usr/share/doc/rpm-rebuilder*/README.  All the documentation you
need is there.

It took me two evenings to set it up.  The first evening was
unsuccessful due to me not quite understanding what was supposed to
happen.  The second evening and a few fixes and everything was working.
Here's the .rpm-rebuilder that I use:


# Config for todd on fiji
#RPM_REBUILDER_LIB=/usr/share/rpm-rebuilder
#RB_LABORATORY=$HOME/rpm-rebuilder
#LOCAL_ARCH=i386
SRPMS_DIRS="/work/Mandrake-devel/cooker/SRPMS /work/Mandrake-devel/contrib/SRPMS"
RPMS_DIRS="/work/Mandrake-devel/cooker/i586/Mandrake/RPMS 
/work/Mandrake-devel/contrib/RPMS"
RPM_TOP_DIR=$HOME/rpm-rebuilder/RPM
RPM_DEST_DIR=$HOME/tmp
#INSTALL_RPMS=
#INSTALLER=
REMOVE_MODE=1
#ABORT_ON_FAILURE=
#PKG_MODIFIER=
#ORDERER=
#NO_URPMI_DEP=1
#SAVE_SRPM=
#SRPM_DEST_DIR=
# Custom for local machine to cache object files
CC="ccache gcc"
CXX="ccache g++"

[todd@fiji ~]$ tree -d rpm-rebuilder/
rpm-rebuilder/
|-- RPM
|   |-- BUILD
|   |-- RPMS
|   |   |-- i586
|   |   `-- noarch
|   |-- SOURCES
|   |-- SPECS
|   `-- SRPMS
|-- failure
|-- success
|   `-- log
`-- todo
    |-- ordered
    `-- unordered

The only thing that I have a small issue with is that I expected it to
urpme all of the packages that it had to urpmi to get the compiles to
work, but apparently it doesn't do that.  It filled my /usr, but
examining the /var/log/urpmi.log file, it was pretty easy to figure out
which packages were added.

Blue skies...                   Todd
-- 
...and I will strike down upon thee with great vengeance and furious
 anger, those who attempt to poison and destroy my binaries, and you 
    will know my name is root, when I lay my vengeance upon thee.
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-18mdk

Attachment: msg80612/pgp00000.pgp
Description: PGP signature

Reply via email to