diff --git a/hive.spec b/hive.spec index 2292aa4f46a5f4dcd17c1f31e14f615937a9a6e0..a706214c2d667eb7578aabadd8000e9ee2aff5d6 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