i am trying to install multiple RPM from one RPM install.i have make the spec file into that in %post section i install the another rpm using command.
%post
rm -f /var/lib/rpm/__db.0*
rpm --rebuilddb
rpm -ivh xyz.rpm
But when the main RPM is install it will get the lock an not release for the another rpm install.so it gives the following warning and stop the installation process.and wait infinite. so any solution for that.
If I understand your question correctly you should be using the Requires tag.