| replacefile.plug(1) | rpmrebuild plugin | replacefile.plug(1) |
NAME¶
replacefile.plug - a plugin for rpmrebuild, to replace a file content
SYNOPSIS¶
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¶
this plugin allow to replace a file content by another file.
OPTIONS¶
- -h, --help
- output help information plugins option and exit.
- -v, --version
- print plugin version and exit
FILES¶
- replacefile.sh
- contains the code to be executed
- replacefile.plug
- contains the code to be included
- replacefile.plug.1
- is this man page
ENVIRONMENT¶
EXAMPLES¶
rpmrebuild --change-files="replacefile.sh -s /tmp/motd -d etc/motd" setup
SRC=/tmp/motd DEST=etc/motd rpmrebuild --change-files="replacefile.sh setup
SRC=/tmp/motd DEST=etc/motd rpmrebuild --include replacefile.plug setup
AUTHORS¶
Eric Gerbier <eric.gerbier@tutanota.com>
NOTES¶
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.
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 rrp for plugins specific manpages
| 2.21 | Eric Gerbier |