diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-04-04 21:17:27 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-04-04 21:17:27 +0200 |
commit | 7b26da834f79b8b6eb2d8e99a1467ffea2791380 (patch) | |
tree | f26773747d20d14d82fe43fd5c245d2f9e803eee /redhat/build/build_rpm_package.sh | |
parent | 61c9cb24d0d3319c8c800fabf1af8153dcabce2c (diff) | |
download | tde-packaging-7b26da834f79b8b6eb2d8e99a1467ffea2791380.tar.gz tde-packaging-7b26da834f79b8b6eb2d8e99a1467ffea2791380.zip |
RPM Packaging: update build scripts
Diffstat (limited to 'redhat/build/build_rpm_package.sh')
-rwxr-xr-x | redhat/build/build_rpm_package.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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}" \ |