From 253fbb2488360f7e35d43f33259984505ff41df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 20 Jul 2014 13:25:02 +0200 Subject: RPM Packaging: update build scripts --- redhat/build/get_latest_built_package_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redhat/build/get_latest_built_package_version.sh') diff --git a/redhat/build/get_latest_built_package_version.sh b/redhat/build/get_latest_built_package_version.sh index f1e251b65..a361ff7b7 100755 --- a/redhat/build/get_latest_built_package_version.sh +++ b/redhat/build/get_latest_built_package_version.sh @@ -11,7 +11,7 @@ RPM=$(get_latest_built_package_filename.sh "${PKGNAME}" ${TDE_VERSION}) VERSION=$(rpm -qp --qf "%{version}-%{release}" "${RPM}") VERSION=${VERSION%.opt} -VERSION=${VERSION%.*} +VERSION=${VERSION%.[a-z]*} VERSION=${VERSION/-*_/\~} -- cgit v1.2.1