mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
update epoch usage
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a582f34c04
commit
cc2ba84fc8
@@ -38,7 +38,7 @@ export NEO_OCL_VERSION_MINOR
|
||||
export NEO_OCL_VERSION_BUILD
|
||||
|
||||
if [ -z "${BRANCH_SUFFIX}" ]; then
|
||||
VERSION="1:${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}${API_DEB_MODEL_LINK}"
|
||||
VERSION="${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}${API_DEB_MODEL_LINK}"
|
||||
else
|
||||
VERSION="1:${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_OCL_VERSION_BUILD}.${API_VERSION}-${API_VERSION_SRC}${API_DEB_MODEL_LINK}"
|
||||
fi
|
||||
|
||||
@@ -60,6 +60,9 @@ if [ "${BUILD_SRPM}" == "1" ]; then
|
||||
if [ -f "$PATCH_SPEC" ]; then
|
||||
source "$PATCH_SPEC"
|
||||
fi
|
||||
if [ -z "${BRANCH_SUFFIX}" ]; then
|
||||
sed -i '/^Epoch: /d' ${SPEC}
|
||||
fi
|
||||
|
||||
# Update spec file with new version
|
||||
perl -pi -e "s/^%global rel .*/%global rel ${RELEASE}/" $SPEC
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
%define _source_payload w5T16.xzdio
|
||||
%define _binary_payload w5T16.xzdio
|
||||
|
||||
Name: intel-opencl
|
||||
Name: intel-opencl
|
||||
Epoch: 1
|
||||
Version: %{ver}
|
||||
Release: %{rel}%{?dist}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
%define igc_sover 1
|
||||
|
||||
%if !0%{?build_type:1}
|
||||
%define build_type Release
|
||||
%define build_type Release
|
||||
%endif
|
||||
|
||||
%define _source_payload w5T16.xzdio
|
||||
|
||||
Reference in New Issue
Block a user