set_tag.plug(1)

πŸ“¦
version 2.21 Β· 3 versions
, in epel 9, fedora 43, fedora 44

✨ 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 tag yourtag by yourvalue. that's the whole point of her existence, honestly. πŸ”₯

πŸŽ€ FILES πŸŽ€

  • set_tag.sh β€” contains the code for change-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 change
  • TAG_VAL : new value for the TAG_ID tag

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. 🌸


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