summaryrefslogtreecommitdiffstats
path: root/redhat/build/build_rpm_package.sh
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-10-12 01:00:33 +0200
committerFrançois Andriot <[email protected]>2014-10-12 01:00:33 +0200
commit8ef20fb122dcf4a0b12aa09ec0263d88940c700a (patch)
tree5de5f3e758b5499265cb99718343a5ce2f2db245 /redhat/build/build_rpm_package.sh
parent3b208c4d6f5300319984fb31881fca6b7afd55a8 (diff)
downloadtde-packaging-8ef20fb122dcf4a0b12aa09ec0263d88940c700a.tar.gz
tde-packaging-8ef20fb122dcf4a0b12aa09ec0263d88940c700a.zip
RPM Packaging: update 3.5.13.2 packages
Diffstat (limited to 'redhat/build/build_rpm_package.sh')
-rwxr-xr-xredhat/build/build_rpm_package.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/redhat/build/build_rpm_package.sh b/redhat/build/build_rpm_package.sh
index 9d8611dee..9aae43d36 100755
--- a/redhat/build/build_rpm_package.sh
+++ b/redhat/build/build_rpm_package.sh
@@ -44,11 +44,6 @@ if [ -r "${TEMPDIR}/one.patch" ]; then
-e "/%setup/ s/$/\n%patch0 -p1/"
fi
-# Determines if we are running an i386 or x86_64 distro
-if [ "$(rpm -q --qf '%{arch}\n' kernel | tail -n 1)" = "i686" ]; then
- ARGS="${ARGS} --target=i686"
-fi
-
[ -d "${BUILDDIR}" ] || mkdir -p "${BUILDDIR}"
RPMDIR="$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})"