rpm dependency resolution
by vedaa from LinuxQuestions.org on (#4RZVR)
hi,
I am trying to create a package with python and shell script.
one of this package requires "expect" package.
During rpm create I have mentioned in the "requires:expect" in the spec file,
however during the requires check,
Code:rpm -qp abc.noarch.rpm --requires
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/bin/expect
/usr/bin/python
expect
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
[1266 ~]#/usr/bin/expect isnt mentioned in the spec file still it appears and it occurs before the "expect" package it self, hence I am getting error as /usr/bin/expect to be installed before installing abc.rpm package
can someone help me understand why this interpreters are mentioned before the expect package installation


I am trying to create a package with python and shell script.
one of this package requires "expect" package.
During rpm create I have mentioned in the "requires:expect" in the spec file,
however during the requires check,
Code:rpm -qp abc.noarch.rpm --requires
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/bin/expect
/usr/bin/python
expect
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
[1266 ~]#/usr/bin/expect isnt mentioned in the spec file still it appears and it occurs before the "expect" package it self, hence I am getting error as /usr/bin/expect to be installed before installing abc.rpm package
can someone help me understand why this interpreters are mentioned before the expect package installation