1set_tag.plug(1) rpmrebuild plugin set_tag.plug(1)
2
3
4
6 set_tag.plug - a plugin for rpmrebuild, to replace a tag value in spec
7 file
8
9
11 rpmrebuild --change-spec-preamble="set_tag.sh -t tag value" <package‐
12 name>
13 or
14 TAG_ID=tag
15 TAG_VAL=value
16 rpmrebuild --include set_tag.plug <packagename>
17
18
20 this plugin allow to replace a tag value in spec file
21
22
24 -h, --help
25 output help information plugins option and exit.
26
27 -v, --version
28 print plugin version and exit
29
30 -t, --tag yourtag yourvalue
31 replace the value of tag yourtag by yourvalue
32
33
35 set_tag.sh
36 contains the code for change-spec-preamble
37
38 set_tag.plug
39
40
41 set_tag.plug.1
42 is this man page
43
44
46 TAG_ID : name of the spec tag to change
47 TAG_VAL : new value for the TAG_ID tag
48
49
51 rpmrebuild --change-spec-preamble="set_tag.sh -t Release 2test" apache
52
53 to change the Release tag to "2test" for the package apache
54 you can do the same with the following syntax
55
56 TAG_ID=Release
57 TAG_VAL="2test"
58 rpmrebuild --include set_tag.plug apache
59
60
62 Eric Gerbier <eric.gerbier@tutanota.com>
63
64 See <URL:http://rpmrebuild.sourceforge.net/>.
65
66
68 a very simple but real plugin
69
70
72 rpmrebuild is copyright (C) 2008 by Eric Gerbier.
73 this program is distributed under GNU General Public License
74 It is provided "as is", without any express or implied warranties. See
75 the file COPYING for details.
76
77
79 rpm(8), rpmbuild(8), rpmrebuild_plugins(1)
80 compat_digest.plug(1), demo.plug(1), demofiles.plug(1), nodoc.plug(1),
81 uniq.plug(1), file2pacDep.plug(1), exclude_file.plug(1), un_pre‐
82 link.plug(1) set_tag.plug(1), unset_tag.plug(1)
83 man -k rrp for plugins specific manpages
84
85
86
87Eric Gerbier 2.17 set_tag.plug(1)