In the psrpm_build_perl script, when the build machine has been already used to build previous versions of RPM, only the very first src.rpm is picked up by psrpm_mock /home/vagrant/rpmbuild/SRPMS/${PACKAGE}*.src.rpm at line 85. That any other newly build src.rpm present, but listed after the first one will never get build.
We should either clean all the /home/vagrant/rpmbuild/SRPMS/ directory before building the new src.rpm or call psrpm_mock with the exact src.rpm we just built before.
In the
psrpm_build_perl
script, when the build machine has been already used to build previous versions of RPM, only the very firstsrc.rpm
is picked up bypsrpm_mock /home/vagrant/rpmbuild/SRPMS/${PACKAGE}*.src.rpm
at line 85. That any other newly buildsrc.rpm
present, but listed after the first one will never get build.We should either clean all the
/home/vagrant/rpmbuild/SRPMS/
directory before building the newsrc.rpm
or callpsrpm_mock
with the exactsrc.rpm
we just built before.