Skip to content
Snippets Groups Projects
Commit b4f1ea8b authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko Committed by Cedric CAFFY
Browse files

Get oracle client version from spec.in

parent 6983bbb0
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ sudo yum install -y git cmake rpm-build gcc gcc-c++ vim gdb cgdb strace ltrace s
echo Installing Oracle instant client
sudo wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
sudo wget https://yum.oracle.com/public-yum-ol7.repo -O /etc/yum.repos.d/public-yum-ol7.repo
sudo yum install -y oracle-instantclient19.3-basic.x86_64 oracle-instantclient19.3-devel.x86_64 --enablerepo=ol7_oracle_instantclient
sudo yum install -y --enablerepo=ol7_oracle_instantclient $(grep 'Requires: oracle' ../../cta.spec.in | awk '{print $2}' | tr '\n' ' ')
sudo yum-config-manager --disable ol7_*
echo "Getting CTA sources for $CTAUSER..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment