empty_section.plug(1)

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

πŸ’… empty_section.plug β€” a lil rpmrebuild plugin moment

okay bestie, so this is empty_section.plug(1), a plugin for rpmrebuild, and its whole job is literally just yeeting an entire section out of your specfile. that's it. that's the gig. πŸŽ€


✨ NAME ✨

empty_section.plug β€” a plugin for rpmrebuild, to remove a full section in specfile 🧚


🌸 SYNOPSIS 🌸

rpmrebuild --change-spec-{section}="empty_section.sh" <packagename>

so like, you swap out {section} for literally any spec section you want, for example changelog. iykyk πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

this plugin removes all of the given section. gone. poof. not me deleting an entire chunk of your spec πŸ’€

⚠️ but be careful bestie: some sections are mandatory. like, you can't just empty everything and expect the world to be okay. respect the required sections fr fr πŸ™ˆ

✨ OPTIONS ✨

  • -h, --help β€” spits out the help info for the plugin's options and then dips out. πŸ‘‹
  • -v, --version β€” prints the plugin version and exits. iconic behaviour honestly πŸ‘‘

πŸ“ FILES πŸ“

  • empty_section.sh β€” holds the code that actually gets included. the main character, lowkey ✨
  • empty_section.plug β€” unused plug file. yeah it's just... sitting there. vibes only, no job πŸ’€
  • empty_section.plug.1 β€” this very man page you're reading rn 🫢

🌈 ENVIRONMENT 🌈

nothing here bestie, it's giving empty. no environment variables to worry about πŸ’œ


⭐ EXAMPLES ⭐

rpmrebuild --change-spec-changelog="empty_section.sh apache

(yes, that's exactly how it's written β€” quote left hanging and everything, no cap 😭)


πŸ‘‘ AUTHORS πŸ‘‘

Eric Gerbier <eric.gerbier@tutanota.com> πŸ’–

See <URL:http://rpmrebuild.sourceforge.net/>. 🌐


🌸 NOTES 🌸

no notes, we're all good here ✨


rpmrebuild is copyright (C) 2024 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.

🫢 like, genuinely no promises, read the COPYING file, that's the whole deal.

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie, you ate it up, periodt πŸ’…βœ¨

Eric Gerbier β€” version 2.21 β€” empty_section.plug(1) πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from