set_tag.plug

Section: rpmrebuild plugin (1)
Updated: 2.11
Index

NAME

set_tag.plug - a plugin for rpmrebuild, to replace a tag value in spec file

SYNOPSIS


rpmrebuild --change-spec-preamble="set_tag.sh -t tag value" <packagename>
or
TAG_ID=tag
TAG_VAL=value
rpmrebuild --include set_tag.plug <packagename>

DESCRIPTION

this plugin allow to replace a tag value in spec file

OPTIONS

-h, --help
output help information plugins option and exit.
-v, --version
print plugin version and exit
-t, --tag yourtag yourvalue
replace the value of tag yourtag by yourvalue

FILES

set_tag.sh
contains the code for change-spec-preamble
set_tag.plug
set_tag.plug.1
is this man page

ENVIRONMENT

TAG_ID : name of the spec tag to change
TAG_VAL : new value for the TAG_ID tag

EXAMPLES

rpmrebuild --change-spec-preamble="set_tag.sh -t Release 2test" apache

to change the Release tag to "2test" for the package apache
you can do the same with the following syntax

TAG_ID=Release
TAG_VAL="2test"
rpmrebuild --include set_tag.plug apache

AUTHORS

Eric Gerbier <gerbier@users.sourceforge.net>

See <URL:http://rpmrebuild.sourceforge.net/>.

NOTES

a very simple but real plugin

COPYRIGHT

rpmrebuild is copyright (C) 2008 by Eric Gerbier.
this program is distributed under GNU General Public License
It is provided "as is", without any express or implied warranties. See the file COPYING for details.

SEE ALSO

rpm(8), rpmbuild(8), rpmrebuild_plugins(1)
compat_digest.plug(1), demo.plug(1), demofiles.plug(1), nodoc.plug(1), uniq.plug(1), file2pacDep.plug(1) set_tag.plug(1) unset_tag.plug(1)
man -k rrp for plugins specific manpages


Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
ENVIRONMENT
EXAMPLES
AUTHORS
NOTES
COPYRIGHT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 09:32:32 GMT, November 22, 2013