set_tag.plug(1)
β¨ set_tag.plug β¨
okay so bestie, welcome to set_tag.plug, a plugin for rpmrebuild whose whole entire job is replacing a tag value in a spec file. that's it. that's the gig. and it ate. π
it lives in the rpmrebuild plugin section of the manual, section 1, and it's genuinely one of the cutest little plugins you'll ever meet. π
πΈ SYNOPSIS πΈ
two ways to summon it, pick your fighter:
rpmrebuild --change-spec-preamble="set_tag.sh -t tag value" <packagename>
or, the env-var route:
TAG_ID=tag
TAG_VAL=value
rpmrebuild --include set_tag.plug <packagename>
π¦ DESCRIPTION π¦
this plugin allow to replace a tag value in spec file. periodt. π
π OPTIONS π
-h,--helpβ output help information plugins option and exit. your girl tells you how she works and then dips. π-v,--versionβ print plugin version and exit. just the numbers, no small talk. β¨-t,--tag yourtag yourvalueβ replace the value of tagyourtagbyyourvalue. that's the whole point of her existence, honestly. π₯
π FILES π
set_tag.shβ contains the code forchange-spec-preamble. the muscle. πͺset_tag.plugβ the plugin itself, no description given, she simply is. πset_tag.plug.1β is this man page. hi, you're reading her. π«Ά
π ENVIRONMENT π
TAG_ID: name of the spec tag to changeTAG_VAL: new value for theTAG_IDtag
these two are literally the dynamic duo, do not separate them. π§
β EXAMPLES β
ok so imagine you wanna mess with apache:
rpmrebuild --change-spec-preamble="set_tag.sh -t Release 2test" apache
to change the Release tag to "2test" for the package apache.
and you can do the same with the following syntax, if env vars are more your vibe:
TAG_ID=Release
TAG_VAL="2test"
rpmrebuild --include set_tag.plug apache
same result, two doors, both slay. πͺβ¨
π AUTHORS π
Eric Gerbier <eric.gerbier@tutanota.com>
See <URL:http://rpmrebuild.sourceforge.net/>. (no, you can't click it from here, bestie, but you know what to do π)
π NOTES π
a very simple but real plugin. she's small, she's real, she works. not everything has to be a 4000-line codebase. πΈ
π₯ 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.
fr fr read that warranty line again β "as is", no promises, no take-backs. π
π 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), exclude_file.plug(1), un_prelink.plug(1) set_tag.plug(1), unset_tag.plug(1)
man -k rrp for plugins specific manpages
and that's the whole page, bestie!! π written by Eric Gerbier, plugin version 2.21, and yeah β it's set_tag.plug(1), the one and only. go forth and tag responsibly. πβ¨π¦
π¦ where this page comes from
- epel 9: rpmrebuild 2.21-1.el9 Β· GPL-2.0-or-later
- fedora 43: rpmrebuild 2.21-1.fc43 Β· GPL-2.0-or-later
- fedora 44: rpmrebuild 2.21-2.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms