openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
130 stars 181 forks source link

Only copy modified dsc sources listed in .changes if OBS-DCH-RELEASE set #992

Closed nickbroon closed 3 months ago

nickbroon commented 3 months ago

In that case modified versions will have been generated as part of the build output. So this avoids coping out two dsc sources, which can cause issues for the source service and schedular trigger dependency rebuilds, or publish hook publishing .dsc source package.

This has happend since the merge of d995de1 dsc_move_build_result() will copy out both original and new one generated .dsc that is list listed in the .changes files. The .changes files list all the modified sources as well as the packages so can be consider definitive.

Closes: 928