Add '--use-build-count' option.
authorwanchao-xu <wanchao.xu@samsung.com>
Tue, 11 Jun 2024 05:47:19 +0000 (13:47 +0800)
committerwanchao-xu <wanchao.xu@samsung.com>
Fri, 21 Jun 2024 02:19:39 +0000 (10:19 +0800)
commit0d9703b77cdfe8db9894f1d9a683a0e1ff7fbd75
treea88860073864140e2a5b8d09047b28ba1f93cc60
parent6b7eac85649e7d9cf145a246a66f3b1f6e61c57e
Add '--use-build-count' option.

* Gbs has a mistake while building multiple packages which have dependence.
* For example, to build package A and B by gbs, and package B depends on package A.
  - Build package A, and rpm of package A can be found in gbs build dir.
  - Build package B, the package A will be installed while building.
  - Modify package A and rebuild it.
  - Rebuild package B, package A is not re-installed because rpm name of package A is not changed.
* This option can add build count into package release while building package, so the rpm name of package will be different from previous build.

Change-Id: I5e7c785b9b72de5b39f848437979631200c5e922
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
depanneur