Omaha #3544 - unpack the Linux 64-bit SWT jar file post-install.
Former-commit-id: 75df4503184b6e41eb8075f64552aec30e112d12
This commit is contained in:
parent
029d66274b
commit
734e4bcc7b
1 changed files with 17 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||
%define _build_arch %(uname -i)
|
||||
|
||||
%define _swt_version 3.8.1.v3836b
|
||||
|
||||
#
|
||||
# AWIPS II AlertViz Spec File
|
||||
#
|
||||
|
@ -118,6 +120,21 @@ fi
|
|||
echo -e "\nInstalling A2 gdm PostSession Default script"
|
||||
scp /etc/gdm/PostSession/awips2VisualizeUtility.sh /etc/gdm/PostSession/Default
|
||||
|
||||
pushd . > /dev/null 2>&1
|
||||
cd /awips2/alertviz/plugins
|
||||
# Forcefully unzip: org.eclipse.swt.gtk.linux.x86_64_*.jar
|
||||
# : if x86_64
|
||||
if [ -f org.eclipse.swt.gtk.linux.x86_64_%{_swt_version}.jar ]; then
|
||||
mkdir org.eclipse.swt.gtk.linux.x86_64_%{_swt_version}
|
||||
unzip -qq org.eclipse.swt.gtk.linux.x86_64_%{_swt_version}.jar \
|
||||
-d org.eclipse.swt.gtk.linux.x86_64_%{_swt_version}
|
||||
rm -f org.eclipse.swt.gtk.linux.x86_64_%{_swt_version}.jar
|
||||
mv org.eclipse.swt.gtk.linux.x86_64_%{_swt_version} \
|
||||
org.eclipse.swt.gtk.linux.x86_64_%{_swt_version}.jar
|
||||
fi
|
||||
|
||||
popd > /dev/null 2>&1
|
||||
|
||||
%preun
|
||||
%postun
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue