"normal" rpm dependencies are :
$ rpm -qR rpm
gawk
fileutils
textutils
mktemp
shadow-utils
popt = 1.6.4
/bin/sh
/bin/sh
/bin/sh
rpmlib(CompressedFileNames) <= 3.0.4-1
ld-linux.so.2
libbz2.so.1
libc.so.6
libpopt.so.0
libpthread.so.0
librpm-4.0.4.so
librpmbuild-4.0.4.so
librpmdb-4.0.4.so
librpmio-4.0.4.so
librt.so.1
libz.so.1
/bin/sh
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.2.3)
libpthread.so.0(GLIBC_2.0)
librt.so.1(GLIBC_2.1)
now build a modified package:
rpmrebuild --include file2pacDep.plug rpm
and the result is :
$ rpm -qpR rpm-4.0.4-7x19.i386.rpm
rpmlib(VersionedDependencies) <= 3.0.3-1
popt = 1.6.4
bash
bzip2-libs
fileutils
gawk
glibc
mktemp
popt
rpm
shadow-utils
textutils
zlib
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Eric Gerbier <gerbier@users.sourceforge.net>
rpmrebuild is copyright (C) 2004 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.
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) set_tag.plug(1) unset_tag.plug(1)
man -k rrp for plugins specific manpages