NAME

  rrbld - rpm rebuild


SYNOPSIS

  rrbld <pkg> [mir_sdir [rpms_sdir [srpms_sdir]]]

     mir_sdir   - mirror subdir, for both local and remote mirrors
                  default=
     rpms_sdir  - ftp pub subdir for rpms. default=
     srpms_sdir - ftp pub subdir for srpms. default=


DESCRIPTION

rrbld is meant for use by rpm packagers. It assumes use of cvs. rrbld has an internally defined $topdir which must match your rpm _topdir. Use `rpm --showrc | grep _topdir' to confirm this. You may set this value in ~/.rpmmacros. rrbld looks for the spec file in SPECS/<pkg>.spec. It expects to find a symlink at SOURCES/<pkg>. This should point to a cvs working dir named <pkg>-<ver>. At each step it will present info and prompt. After user confirmation it will: 1. rename the cvs working dir to match the version in the spec file 2. test the cvs working dir for a match to the repository 3. make a tarball from the cvs working dir 4. build binary and source rpms from the tarball 5. post the binary rpm to the local mirror 6. post the binary rpm to the remote site mirror 7. post the binary rpm to the ftp server 8. post the src.rpm to the ftp server 9. post the tarball to the ftp server

Note: target dir names are paramitized inside the rrbld script.