From 7d8be4bc1f8ea72f361ce4c92e31d7f03afa858f Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Thu, 21 May 2020 15:17:42 -0400 Subject: [PATCH] Add auto-versioning to starlingx/metal mtce packages This update makes use of the PKG_GITREVCOUNT variable to auto-version the mtce packages in this repo. Change-Id: Ifb4da4570e0261bbdcf0d7af79b8add7cfc133ac Story: 2006166 Task: 39822 Signed-off-by: Eric MacDonald --- mtce-common/centos/build_srpm.data | 2 +- mtce-compute/centos/build_srpm.data | 2 +- mtce-control/centos/build_srpm.data | 2 +- mtce-storage/centos/build_srpm.data | 2 +- mtce/centos/build_srpm.data | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mtce-common/centos/build_srpm.data b/mtce-common/centos/build_srpm.data index 8784f945..8aea7f6a 100644 --- a/mtce-common/centos/build_srpm.data +++ b/mtce-common/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="src" -TIS_PATCH_VER=144 +TIS_PATCH_VER=PKG_GITREVCOUNT BUILD_IS_SLOW=5 diff --git a/mtce-compute/centos/build_srpm.data b/mtce-compute/centos/build_srpm.data index 48f2c3f2..aad1e1cc 100644 --- a/mtce-compute/centos/build_srpm.data +++ b/mtce-compute/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="$PKG_BASE/src" COPY_LIST="$SRC_DIR/*" -TIS_PATCH_VER=7 +TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/mtce-control/centos/build_srpm.data b/mtce-control/centos/build_srpm.data index 48f2c3f2..aad1e1cc 100644 --- a/mtce-control/centos/build_srpm.data +++ b/mtce-control/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="$PKG_BASE/src" COPY_LIST="$SRC_DIR/*" -TIS_PATCH_VER=7 +TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/mtce-storage/centos/build_srpm.data b/mtce-storage/centos/build_srpm.data index 113ac7de..aad1e1cc 100644 --- a/mtce-storage/centos/build_srpm.data +++ b/mtce-storage/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="$PKG_BASE/src" COPY_LIST="$SRC_DIR/*" -TIS_PATCH_VER=5 +TIS_PATCH_VER=PKG_GITREVCOUNT diff --git a/mtce/centos/build_srpm.data b/mtce/centos/build_srpm.data index 5312e7f0..8aea7f6a 100644 --- a/mtce/centos/build_srpm.data +++ b/mtce/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="src" -TIS_PATCH_VER=159 +TIS_PATCH_VER=PKG_GITREVCOUNT BUILD_IS_SLOW=5