13.5.3-8 baseline

Former-commit-id: e644eb9219 [formerly 4029c51fbf] [formerly b05ffb2108 [formerly 5623700c1cde2020ca0a8322edbfcf56afacb604]]
Former-commit-id: b05ffb2108
Former-commit-id: e86f211430
This commit is contained in:
Steve Harris 2013-11-15 09:28:00 -05:00
parent 142f1201b3
commit 28e5c8f540

View file

@ -9,7 +9,7 @@
Name: awips2-ldm Name: awips2-ldm
Summary: AWIPS II LDM Distribution Summary: AWIPS II LDM Distribution
Version: %{_ldm_version} Version: %{_ldm_version}
Release: 7 Release: 9
Group: AWIPSII Group: AWIPSII
BuildRoot: /tmp BuildRoot: /tmp
BuildArch: noarch BuildArch: noarch
@ -21,7 +21,7 @@ Packager: Bryan Kowal
AutoReq: no AutoReq: no
Requires: awips2-qpid-lib Requires: awips2-qpid-lib
Requires: zlib-devel requires: awips2-python
requires: awips2-python requires: awips2-python
provides: awips2-ldm provides: awips2-ldm
provides: awips2-base-component provides: awips2-base-component
@ -40,40 +40,34 @@ fi
if [ -d %{_build_root} ]; then if [ -d %{_build_root} ]; then
rm -rf %{_build_root} rm -rf %{_build_root}
fi fi
/bin/mkdir -p %{_build_root}
if [ $? -ne 0 ]; then %build
exit 1
fi %install
# create the ldm directory # create the ldm directory
/bin/mkdir -p %{_build_root}/usr/local/ldm/SOURCES /bin/mkdir -p %{_build_root}/usr/local/ldm/SOURCES
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
/bin/mkdir -p %{_build_root}/etc/profile.d /bin/mkdir -p %{_build_root}/etc/profile.d
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
/bin/mkdir -p %{_build_root}/etc/ld.so.conf.d /bin/mkdir -p %{_build_root}/etc/ld.so.conf.d
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
/bin/mkdir -p %{_build_root}/etc/logrotate.d /bin/mkdir -p %{_build_root}/etc/logrotate.d
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
/bin/mkdir -p %{_build_root}/etc/init.d /bin/mkdir -p %{_build_root}/etc/init.d
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
%build
%install
_ldm_destination=%{_build_root}/usr/local/ldm _ldm_destination=%{_build_root}/usr/local/ldm
_ldm_destination_source=${_ldm_destination}/SOURCES _ldm_destination_source=${_ldm_destination}/SOURCES
@ -182,7 +176,9 @@ fi
# create .bash_profile # create .bash_profile
if [ ! -f /usr/local/ldm/.bash_profile ]; then 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 /usr/local/ldm/.bash_profile
echo 'export MANPATH=$HOME/share/man:/usr/share/man' >> \ echo 'export MANPATH=$HOME/share/man:/usr/share/man' >> \
/usr/local/ldm/.bash_profile /usr/local/ldm/.bash_profile