add soft link ext to /usr/bin

This commit is contained in:
wang--ge 2021-06-09 18:35:43 +08:00
parent 8dc7996abd
commit bc53a538ed

View File

@ -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 <wangge20@huawei.com> 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 <wangge20@huawei.com> 3.1.2-1
- Init package