From 7b26da834f79b8b6eb2d8e99a1467ffea2791380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Fri, 4 Apr 2014 21:17:27 +0200 Subject: RPM Packaging: update build scripts --- redhat/build/build_rpm_package.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'redhat/build/build_rpm_package.sh') diff --git a/redhat/build/build_rpm_package.sh b/redhat/build/build_rpm_package.sh index 5b274fde2..5d9a7d6cd 100755 --- a/redhat/build/build_rpm_package.sh +++ b/redhat/build/build_rpm_package.sh @@ -28,12 +28,14 @@ fi [ -d "${BUILDDIR}" ] || mkdir -p "${BUILDDIR}" +RPMDIR="$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})" rpmbuild -ba \ --define "_specdir ${TEMPDIR}" \ --define "_sourcedir ${TEMPDIR}" \ --define "_builddir ${BUILDDIR}" \ --define "_buildrootdir ${BUILDROOTDIR}" \ + --define "_rpmdir ${RPMDIR}" \ --define "tde_version ${TDE_VERSION}" \ --define "tde_prefix /opt/trinity" \ --define "preversion ${PREVERSION}" \ -- cgit v1.2.1