From bc53a538edec4a1de0392817ed50aa12654e6c7e Mon Sep 17 00:00:00 2001 From: wang--ge Date: Wed, 9 Jun 2021 18:35:43 +0800 Subject: [PATCH] add soft link ext to /usr/bin --- hive.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hive.spec b/hive.spec index 2292aa4..a706214 100644 --- a/hive.spec +++ b/hive.spec @@ -2,7 +2,7 @@ Name: hive Version: 3.1.2 -Release: 1 +Release: 2 Summary: The Apache Hadoop data warehouse License: Apache-2.0 and Python-2.0 and MPL-2.0 and BSD and ICU @@ -89,6 +89,7 @@ cp -pr bin/ext/* %{buildroot}%{_datadir}/%{name}/bin/ext for f in beeline.sh hiveserver2.sh; do rm %{buildroot}%{_datadir}/%{name}/bin/ext/${f} done +ln -s %{_datadir}/%{name}/bin/ext %{buildroot}%{_bindir}/ext # conf for f in hive-default.xml hive-env.sh hive-exec-log4j2.properties hive-log4j2.properties; do @@ -125,5 +126,8 @@ ln -s %{_javadir}/%{name}/%{name}-shims.jar %{buildroot}%{_datadir}/hadoop/mapre %changelog +* Wed Jun 09 2021 Ge Wang 3.1.2-2 +- Add soft link ext to directory /usr/bin due to hive's shell starting info + * Tue Apr 13 2021 Ge Wang 3.1.2-1 - Init package -- Gitee