summaryrefslogtreecommitdiffstats
path: root/system/oracle-instantclient-basic/oracle-instantclient-basic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/oracle-instantclient-basic/oracle-instantclient-basic.SlackBuild')
-rw-r--r--system/oracle-instantclient-basic/oracle-instantclient-basic.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/oracle-instantclient-basic/oracle-instantclient-basic.SlackBuild b/system/oracle-instantclient-basic/oracle-instantclient-basic.SlackBuild
index 53dfa636c7..9fc51a4858 100644
--- a/system/oracle-instantclient-basic/oracle-instantclient-basic.SlackBuild
+++ b/system/oracle-instantclient-basic/oracle-instantclient-basic.SlackBuild
@@ -25,12 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=oracle-instantclient-basic
-VERSION=${VERSION:-12.1.0.2.0}
+VERSION=${VERSION:-21.5.0.0.0}
+SRCVER=${SRCVER:-21.5.0.0.0-1}
RELEASE=${RELEASE:-1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-ORAVER="12.1"
+ORAVER="21"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -60,10 +61,7 @@ else
fi
# recreating the name of the RPM
-RPMNAM="$(echo ${PRGNAM} | cut -d '-' -f 1-2)\
-${ORAVER}-$(echo ${PRGNAM} | cut -d '-' -f 3)\
--$VERSION-$RELEASE.$ARCH.rpm"
-
+RPMNAM="$PRGNAM-$VERSION-$RELEASE.$ARCH.rpm"
set -e
rm -rf $PKG