summaryrefslogtreecommitdiffstats
path: root/scripts/gccnewlib/base-gnat.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-04-22 05:15:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-04-22 05:15:44 +0000
commit1eb65053ab56b2d504f4cb5ce822f8aff8b27816 (patch)
treedc0ac88cedd989904b8cd78a44f85164e2a63489 /scripts/gccnewlib/base-gnat.add
parentNew. (diff)
downloadrtems-1eb65053ab56b2d504f4cb5ce822f8aff8b27816.tar.bz2
2005-04-22 Ralf Corsepius <ralf.corsepius@rtems.org>
* gccnewlib/base-gfortran.add, gccnewlib/target-gfortran.add: New. * gccnewlib/Makefile.am: Reflect addition of gfortran. * gccnewlib/base-g77.add, gccnewlib/base-gcc.add, gccnewlib/base-gcj.add, gccnewlib/base-gnat.add, gccnewlib/target-g++.add, gccnewlib/target-g77.add, gccnewlib/target-gcc.add, gccnewlib/target-gcj.add, gccnewlib/target-gnat.add: Remove RPM_INSTALL_PREFIX. Remove superfluous %doc directives. Use %_infodir, %_includedir, %_bindir, %_libdir. * gccnewlib/gccnewlib.add: Ditto. Add further BR's, Reflect addition of gfortran. Reflect gcc's changes to "version_string".
Diffstat (limited to 'scripts/gccnewlib/base-gnat.add')
-rw-r--r--scripts/gccnewlib/base-gnat.add18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/gccnewlib/base-gnat.add b/scripts/gccnewlib/base-gnat.add
index 8f1e96af95..41515f2873 100644
--- a/scripts/gccnewlib/base-gnat.add
+++ b/scripts/gccnewlib/base-gnat.add
@@ -13,7 +13,7 @@ This is the gcc/gnat tools for the gcc/gnat compiler
%files -n %{rpmprefix}rtems@osversion@-base-gnat
%defattr(-,root,root)
-%dir %{_prefix}/bin
+%dir %{_bindir}
%if "%{gcc_version}" >= "3.3"
%{_infodir}/gnat*
@@ -21,22 +21,22 @@ This is the gcc/gnat tools for the gcc/gnat compiler
%if "%{gcc_version}" >= "3.3"
%post -n %{rpmprefix}rtems@osversion@-base-gnat
- if test -d $RPM_INSTALL_PREFIX%{_infodir};
+ if test -d %{_infodir};
then
- rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
- f=`find $RPM_INSTALL_PREFIX%{_infodir} -name '*.info.gz'`
+ rm -f %{_infodir}/dir
+ f=`find %{_infodir} -name '*.info.gz'`
test -n "$f" && for i in $f; do
- install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
+ install-info $i %{_infodir}/dir
done
fi
%postun -n %{rpmprefix}rtems@osversion@-base-gnat
- if test -d $RPM_INSTALL_PREFIX%{_infodir};
+ if test -d %{_infodir};
then
- rm -f $RPM_INSTALL_PREFIX%{_infodir}/dir
- f=`find $RPM_INSTALL_PREFIX%{_infodir} -name '*.info.gz'`
+ rm -f %{_infodir}/dir
+ f=`find %{_infodir} -name '*.info.gz'`
test -n "$f" && for i in $f; do
- install-info $i $RPM_INSTALL_PREFIX%{_infodir}/dir
+ install-info $i %{_infodir}/dir
done
fi
%endif