summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_spec_version.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-11-07 15:32:15 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2015-11-07 15:32:15 +0100
commite187705a4cf93d04d69e4b58351c128432bf8ba8 (patch)
tree863436fe53d6780c1f9303f0061c520f39b4eeab /redhat/build/get_spec_version.sh
parent10d8be91c9ba6a6360c6ac9ee818408c42c0663b (diff)
downloadtde-packaging-e187705a4cf93d04d69e4b58351c128432bf8ba8.tar.gz
tde-packaging-e187705a4cf93d04d69e4b58351c128432bf8ba8.zip
RPM Packaging: update for 14.0.2
Diffstat (limited to 'redhat/build/get_spec_version.sh')
-rwxr-xr-xredhat/build/get_spec_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/get_spec_version.sh b/redhat/build/get_spec_version.sh
index 82c61dcd8..0980fd239 100755
--- a/redhat/build/get_spec_version.sh
+++ b/redhat/build/get_spec_version.sh
@@ -12,7 +12,7 @@ SPECFILE=$(get_specfile.sh ${PKGNAME} ${TDE_VERSION})
VERSION=$(sed -n "/^Version:/ s/Version:[ ]*//p" ${SPECFILE})
RELEASE=$(sed -n "/^Release:/ s/Release:[ ]*//p" ${SPECFILE})
VERSION=$(rpm -E "${VERSION}")
-RELEASE=$(rpm -E "${RELEASE}")
+RELEASE=$(rpm --define "tde_version ${TDE_VERSION}" -E "${RELEASE}")
RELEASE=${RELEASE%$(rpmdist.sh --dist)}
echo ${VERSION}-${RELEASE}