summaryrefslogtreecommitdiffstats
path: root/redhat/build
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-05-08 13:52:09 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-05-08 13:52:09 +0200
commit8ab4d3920b6da379f4d14ff3b78d088a45df7cb8 (patch)
tree513fffd2185a74b7d8e1ef0a0808e9d7b1bac0a0 /redhat/build
parent0edc1511e1134e66172a80f8d69389f246ff867e (diff)
downloadtde-packaging-8ab4d3920b6da379f4d14ff3b78d088a45df7cb8.tar.gz
tde-packaging-8ab4d3920b6da379f4d14ff3b78d088a45df7cb8.zip
RPM: update build scripts for Fedora 38
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/build')
-rwxr-xr-xredhat/build/get_latest_tarball_version.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/build/get_latest_tarball_version.sh b/redhat/build/get_latest_tarball_version.sh
index 36090ef86..bf6db3b9e 100755
--- a/redhat/build/get_latest_tarball_version.sh
+++ b/redhat/build/get_latest_tarball_version.sh
@@ -12,7 +12,9 @@ TARBALL=$(get_latest_tarball_filename.sh "${PKGNAME}" ${TDE_VERSION})
VERSION=${TARBALL##*/}
VERSION=${VERSION#trinity-}
VERSION=${VERSION#${PKGNAME}-}
+VERSION=${VERSION#${PKGNAME}_}
VERSION=${VERSION#*-}
VERSION=${VERSION%.tar.gz}
VERSION=${VERSION%.tar.bz2}
+VERSION=${VERSION%.orig}
echo "$VERSION"