13.5.3-8 baseline
Former-commit-id:e644eb9219
[formerly4029c51fbf
] [formerlyb05ffb2108
[formerly 5623700c1cde2020ca0a8322edbfcf56afacb604]] Former-commit-id:b05ffb2108
Former-commit-id:e86f211430
This commit is contained in:
parent
142f1201b3
commit
28e5c8f540
1 changed files with 9 additions and 13 deletions
|
@ -9,7 +9,7 @@
|
|||
Name: awips2-ldm
|
||||
Summary: AWIPS II LDM Distribution
|
||||
Version: %{_ldm_version}
|
||||
Release: 7
|
||||
Release: 9
|
||||
Group: AWIPSII
|
||||
BuildRoot: /tmp
|
||||
BuildArch: noarch
|
||||
|
@ -21,7 +21,7 @@ Packager: Bryan Kowal
|
|||
|
||||
AutoReq: no
|
||||
Requires: awips2-qpid-lib
|
||||
Requires: zlib-devel
|
||||
requires: awips2-python
|
||||
requires: awips2-python
|
||||
provides: awips2-ldm
|
||||
provides: awips2-base-component
|
||||
|
@ -40,40 +40,34 @@ fi
|
|||
if [ -d %{_build_root} ]; then
|
||||
rm -rf %{_build_root}
|
||||
fi
|
||||
/bin/mkdir -p %{_build_root}
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
|
||||
# create the ldm directory
|
||||
/bin/mkdir -p %{_build_root}/usr/local/ldm/SOURCES
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/bin/mkdir -p %{_build_root}/etc/profile.d
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/bin/mkdir -p %{_build_root}/etc/ld.so.conf.d
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/bin/mkdir -p %{_build_root}/etc/logrotate.d
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/bin/mkdir -p %{_build_root}/etc/init.d
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
_ldm_destination=%{_build_root}/usr/local/ldm
|
||||
_ldm_destination_source=${_ldm_destination}/SOURCES
|
||||
|
||||
|
@ -182,7 +176,9 @@ fi
|
|||
|
||||
# create .bash_profile
|
||||
if [ ! -f /usr/local/ldm/.bash_profile ]; then
|
||||
echo 'export PATH=$HOME/decoders:$HOME/util:$HOME/bin:$PATH' > \
|
||||
echo 'umask 002' > \
|
||||
/usr/local/ldm/.bash_profile
|
||||
echo 'export PATH=$HOME/decoders:$HOME/util:$HOME/bin:$PATH' >> \
|
||||
/usr/local/ldm/.bash_profile
|
||||
echo 'export MANPATH=$HOME/share/man:/usr/share/man' >> \
|
||||
/usr/local/ldm/.bash_profile
|
||||
|
|
Loading…
Add table
Reference in a new issue