diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-04-15 19:43:15 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-04-15 19:43:15 +0200 |
commit | 41284c83ff5be87bbc957f646c0db642e93cc722 (patch) | |
tree | 8b61e4e593c0e6f94cfe83c4ea363fc62e83bcab /redhat/build/build_rpm_package.sh | |
parent | 062d4cb70976cec2a15349c6abe70a506d19f1d5 (diff) | |
download | tde-packaging-41284c83ff5be87bbc957f646c0db642e93cc722.tar.gz tde-packaging-41284c83ff5be87bbc957f646c0db642e93cc722.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 5d9a7d6cd..d55075ffa 100755 --- a/redhat/build/build_rpm_package.sh +++ b/redhat/build/build_rpm_package.sh @@ -29,6 +29,7 @@ fi [ -d "${BUILDDIR}" ] || mkdir -p "${BUILDDIR}" RPMDIR="$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})" +SRPMDIR="$(rpm -E %{_srcrpmdir}.tde-${TDE_VERSION})" rpmbuild -ba \ --define "_specdir ${TEMPDIR}" \ @@ -36,6 +37,7 @@ rpmbuild -ba \ --define "_builddir ${BUILDDIR}" \ --define "_buildrootdir ${BUILDROOTDIR}" \ --define "_rpmdir ${RPMDIR}" \ + --define "_srcrpmdir ${SRPMDIR}" \ --define "tde_version ${TDE_VERSION}" \ --define "tde_prefix /opt/trinity" \ --define "preversion ${PREVERSION}" \ |