set_tag.plug.1rrp man page

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

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

Referenced By

compat_digest.plug.1rrp(1), demofiles.plug.1rrp(1), demo.plug.1rrp(1), file2pacDep.plug.1rrp(1), nodoc.plug.1rrp(1), rpmrebuild_plugins(1), set_tag.plug.1rrp(1), uniq.plug.1rrp(1), un_prelink.plug.1rrp(1), unset_tag.plug.1rrp(1).

2.11 Eric Gerbier rpmrebuild plugin