NAME
MDV::Repsys
SYNOPSYS
Module to build rpm from a svn
FUNCTIONS
set_rpm_dirs($dir)
Set internals rpm macros that are used by rpm building functions:
_sourcedir to $dir/SOURCES
_patchdir to $dir/SOURCES
_specdir to $dir/SPECS
create_rpm_dirs
Create directories used by rpm building functions:
_sourcedir
_patchdir
_specdir
Return 1 on sucess, 0 on failure.
extract_srpm($rpmfile, $directory)
Extract (install) a source package into $directory.
sync_source($workingdir, $specfile)
Synchronize svn content by performing add/remove on file need to build the package. $workingdir should a svn directory. No changes are applied to the repository, you have to commit yourself after.
Return 1 on success, 0 on error.
AUTHORS
Olivier Thauvin <nanardon@mandriva.org>