rpmbuildupdate

Langue: en

Version: 2007-06-30 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

rpmbuildupate - automatic package rebuilder

SYNOPSIS

rpmbuildupdate [options] <package> <version>

rpmbuildupdate [options] <file.spec> <version>

rpmbuildupdate [options] <file.src.rpm> <version>

Options:

     --srpms <path>                   specify SRPMS path
     --rpmoption <option>             pass this option to rpm during build
     --release <release>              release tag
     --releasesuffix <suffix>         release tag suffix
     --changelog <message>            use a alternate message
     --top <dir>                      specify rpm top dir
     --verbose                        be verbose
     --nodownload                     do not download any files
     --noupdate                       do not update anything
     --noupdate-revision              do not update package revision
     --noupdate-changelog             do not update package changelog
     --nobuild                        do not build anything
     --nobuild-binaries               do not build binary packages
     --nobuild-source                 do not build source package
     --execute <expression>           expression to evaluate during update
     --execafterbuild <command>       command to execute after the build
     --installbuildrequires <command> command to install build requires
 
 

OPTIONS

--srpms
Specify SRPMS path, separate folder with a comma.
--rpmoption
Pass this option to rpm during build.
--release
Complete release tag value.
--releasesuffix
Release tag value suffix, remaining should be computed automatically.
--changelog
Changelog entry message. Several can be used, and they will be automatically formatted, with \%\%VERSION substituted by version. Defaults to 'New version \%\%VERSION' when a new version is given, and 'Rebuild' otherwise.
--top
Specify rpm tree top directory. Defaults to rpm configuration.
--verbose
Be verbose.
--noupdate
Do not update anything.
--noupdate-revision
Do not update the package revision.
--noupdate-changelog
Do not update the package changelog.
--nodownload
Do not download any files.
--nobuild
Do not build anything.
--nobuild-source
Do not build the source package.
--nobuild-binaries
Do not build the binary package.
--execute
Evaluate a perl expression for each line of the spec file. $_ will hold the value of the line.
--execafterbuild
Execute an external command after the build, with files created as arguments.
--installbuildrequires
Execute an external command before the build, with build dependencies as arguments.

DESCRIPTION

This tool automatises rpm package building. When given an explicit new version, it downloads new sources automatically, updates the spec file and builds a new version. When not given a new version, it just updates the spec file a builds a new release.

SEE ALSO

AppConfig, for additional details about configuration file format.

Youri::Package::RPM::Updater, for details about update algorithm.

AUTHORS

Julien Danjou <danjou@mandriva.com>

Michael Scherer <misc@mandriva.org>

Guillaume Rousse <guillomovitch@mandriva.org>

Copyright (c) 2003-2007 Mandriva.

Permission to use, copy, modify, and distribute this software and its documentation under the terms of the GNU General Public License is hereby granted. No representations are made about the suitability of this software for any purpose. It is provided ``as is'' without express or implied warranty. See the GNU General Public License for more details.