perfsonar / perl-shared

Shared libraries used by perl packages and referenced as a submodule in many git repos
Apache License 2.0
7 stars 3 forks source link

RPM build process improvement #91

Open laeti-tia opened 3 years ago

laeti-tia commented 3 years ago

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.

laeti-tia commented 3 years ago

The alternative is to use psrpm_clean_buildenv before any new build.