From 1a71e96a56adad132b436a472bcad161e886b216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Fri, 2 Aug 2013 11:38:56 +0200 Subject: RPM Packaging: update build script --- redhat/genrpm.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'redhat/genrpm.sh') diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh index 3842b4c0b..a6df1f0b5 100755 --- a/redhat/genrpm.sh +++ b/redhat/genrpm.sh @@ -161,13 +161,8 @@ cp -f "${COMP}/${SPEC}" "${SOURCEDIR}" echo "Copying TARBALL ..." cp -fv "${TARBALL}" "${SOURCEDIR}" -if [ $(hostname) = "aria.vtf" ]; then - BUILDDIR="$HOME/rpmbuild/BUILD/BUILD${DIST}.$(uname -i)" - BUILDROOTDIR="$HOME/rpmbuild/BUILDROOT/BUILDROOT${DIST}.$(uname -i)" -else - BUILDDIR="/dev/shm/BUILD${DIST}.$(uname -i)" - BUILDROOTDIR="/dev/shm/BUILDROOT${DIST}.$(uname -i)" -fi +BUILDDIR="/dev/shm/BUILD${DIST}.$(uname -i)" +BUILDROOTDIR="/dev/shm/BUILDROOT${DIST}.$(uname -i)" TOPSRCRPMDIR="$(rpm -E %_srcrpmdir)" TOPRPMDIR="$(rpm -E %_rpmdir)" -- cgit v1.2.1