build-info is always rebuilt, unless the --no-build-info flag is used.

the others likely have a BuildRequires on build-info.  We do that in case there is a .h change that might alter the compilation of 'descendent' packages.  You can suppress that behaviour with  --no-descendants.

Scott


On 2019-02-13 12:19 p.m., Ruiz Garcia, Felipe De Jesus wrote:

Hi Scott

I am working on the bug 1804687, and I have realized that some packages are rebuilt when "build-pkgs" is executed even if the package does not have new changes.

The packages mentioned are:

 

sm-common-debuginfo-1.0.0-20.tis.x86_64.rpm

sm-common-dev-1.0.0-20.tis.x86_64.rpm

sm-common-libs-1.0.0-20.tis.x86_64.rpm

sm-eru-1.0.0-20.tis.x86_64.rpm

sm-common-1.0.0-20.tis.src.rpm

sm-common-1.0.0-20.tis.x86_64.rpm

build-info-1.0-4.tis.src.rpm

build-info-1.0-4.tis.x86_64.rpm

build-info-dev-1.0-4.tis.x86_64.rpm

 

Is this behavior a bug? otherwise why are those packages built every time if they have the same version?

 

Note:

The fix for the bug is ready for review
https://review.openstack.org/#/c/634513/


Regards
Felipe Ruiz / Pipo / Tranzemc
Before anything else, preparation is the key to success. (  Alexander Graham Bell  )