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
10 rpmrebuild --change-spec-preamble="set_tag.sh -t tag value" <packageā
11 name>
12 or
13 TAG_ID=tag
14 TAG_VAL=value
15 rpmrebuild --include set_tag.plug <packagename>
16
17
19 this plugin allow to replace a tag value in spec file
20
22 -h, --help
23 output help information plugins option and exit.
24
25 -v, --version
26 print plugin version and exit
27
28 -t, --tag yourtag yourvalue
29 replace the value of tag yourtag by yourvalue
30
31
33 set_tag.sh
34 contains the code for change-spec-preamble
35
36 set_tag.plug
37
38
39 set_tag.plug.1
40 is this man page
41
43 TAG_ID : name of the spec tag to change
44 TAG_VAL : new value for the TAG_ID tag
45
47 rpmrebuild --change-spec-preamble="set_tag.sh -t Release 2test" apache
48
49 to change the Release tag to "2test" for the package apache
50 you can do the same with the following syntax
51
52 TAG_ID=Release
53 TAG_VAL="2test"
54 rpmrebuild --include set_tag.plug apache
55
56
58 Eric Gerbier <gerbier@users.sourceforge.net>
59
60 See <URL:http://rpmrebuild.sourceforge.net/>.
61
63 a very simple but real plugin
64
65
67 rpmrebuild is copyright (C) 2008 by Eric Gerbier.
68 this program is distributed under GNU General Public License
69 It is provided "as is", without any express or implied warranties. See
70 the file COPYING for details.
71
72
74 rpm(8), rpmbuild(8), rpmrebuild_plugins(1)
75 compat_digest.plug(1), demo.plug(1), demofiles.plug(1), nodoc.plug(1),
76 uniq.plug(1), file2pacDep.plug(1) set_tag.plug(1) unset_tag.plug(1)
77 man -k rrp for plugins specific manpages
78
79
80
81Eric Gerbier 2.15 set_tag.plug(1)