replacefile.plug(1)
π NAME π
okay so bestie, welcome to replacefile.plug(1) β it's a plugin for rpmrebuild, and its whole thing is replacing a file's content π
β¨
π¦ SYNOPSIS π¦
three ways to summon it, pick ur fighter:
SRC=new_file_content DEST=file_to_be_replaced rpmrebuild --include replacefile.plug <packagename>
rpmrebuild --change-files="replacefile.sh -s new_file_content -d file_to_be_replaced" <packagename>
SRC=new_file_content DEST=file_to_be_replaced rpmrebuild --change-files="replacefile.sh" <packagename>
πΈ DESCRIPTION πΈ
so like, this plugin lets u replace a file's content with the content of another file. that's it. that's the vibe. iconic behavior honestly π«Ά
β¨ OPTIONS β¨
-h,--helpβ spits out the help info for the plugin's options and then dips out. bye π-v,--versionβ prints the plugin version and exits, no notes π
π FILES π
replacefile.shβ the file holding the code that actually gets executed, the main character frreplacefile.plugβ the file holding the code that gets includedreplacefile.plug.1β bestie... it's literally this man page ur reading right now π
π ENVIRONMENT π
SRCβ the path to the new file content, aka the glow-up source πDESTβ the path to the file that's getting replaced, pour one out π₯²
π₯ EXAMPLES π₯
option one, the flag way:
rpmrebuild --change-files="replacefile.sh -s /tmp/motd -d etc/motd" setup
option two, env vars + --change-files:
SRC=/tmp/motd DEST=etc/motd rpmrebuild --change-files="replacefile.sh" setup
option three, env vars + --include:
SRC=/tmp/motd DEST=etc/motd rpmrebuild --include replacefile.plug setup
all three are doing the same thing btw, just different outfit choices π
π AUTHORS π
Eric Gerbier <eric.gerbier@tutanota.com> β the legend, the blueprint π
See <URL:http://rpmrebuild.sourceforge.net/>.
π NOTES π
not a single note in here bestie, the section is just... standing there. empty. serving nothing but presence π§
β COPYRIGHT β
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.
okay so that "as is" part is real, fr fr β no promises, no guarantees, read COPYING if u wanna know the whole deal π
π SEE ALSO π
rpm(8),rpmbuild(8),rpmrebuild_plugins(1)compat_digest.plug(1)demo.plug(1)demofiles.plug(1)empty_section.plug(1)exclude_file.plug(1)file2pacDep.plug(1)nodoc.plug(1)replacefile(1)set_tag.plug(1)uniq.plug(1)un_prelink.plug(1)unset_tag.plug(1)man -k rrpfor plugins specific manpages
and that's the whole page, bestie π«Ά this was replacefile.plug(1), version 2.21, written by Eric Gerbier β mwah, no cap, go replace some files πβ¨π
π¦ 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