Omaha #3544 - unpack the Linux 64-bit SWT jar file post-install.
Former-commit-id:324eb07a85
[formerly6d3611101e
] [formerlyc93a830f59
] [formerly324eb07a85
[formerly6d3611101e
] [formerlyc93a830f59
] [formerly734e4bcc7b
[formerlyc93a830f59
[formerly 75df4503184b6e41eb8075f64552aec30e112d12]]]] Former-commit-id:734e4bcc7b
Former-commit-id:c6f29b573a
[formerly1ee075dfd0
] [formerly ee82061bc968ebbcdf921f4aa4ea0fb22b316950 [formerly341c09fb76
]] Former-commit-id: 34d44ef0c81f0a64ebcc07193ba6388ed74edbd7 [formerly6b25d78b84
] Former-commit-id:bcbfb778d3
This commit is contained in:
parent
6344e2a355
commit
8db05b7633
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