source: rtems/contrib/crossrpms/gcc/base-g77.add @ 64ccc152

4.104.114.84.9
Last change on this file since 64ccc152 was 64ccc152, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 16, 2007 at 8:31:33 AM

Ignore errors on install-info.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1%if %build_infos
2%if %build_g77
3# ==============================================================
4# @rpmprefix@gcc-g77-common
5# ==============================================================
6%package -n @rpmprefix@gcc-g77-common
7Summary:        Base package for RTEMS gcc/g77 compiler
8Group:          Development/Tools
9Version:        %{gcc_rpmvers}
10License:        GPL
11
12Requires(post):         /sbin/install-info
13Requires(preun):        /sbin/install-info
14
15Provides:       @rpmprefix@rtems4.7-base-g77 = %{gcc_rpmvers}-%{release}
16Obsoletes:      @rpmprefix@rtems4.7-base-g77 < %{gcc_rpmvers}-%{release}
17Provides:       @rpmprefix@rtems-base-g77 = %{gcc_rpmvers}-%{release}
18Obsoletes:      @rpmprefix@rtems-base-g77 < %{gcc_rpmvers}-%{release}
19
20%description -n @rpmprefix@gcc-g77-common
21RTEMS is an open source operating system for embedded systems.
22
23This is the files for gcc/g77 that are shared by all targets.
24
25%files -n @rpmprefix@gcc-g77-common
26%defattr(-,root,root)
27%sysdir %{_infodir}
28%ghost %{_infodir}/dir
29%{_infodir}/g77.info*.gz
30
31%post -n @rpmprefix@gcc-g77-common
32  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/g77.info.gz || :
33
34%preun -n @rpmprefix@gcc-g77-common
35if [ $1 -eq 0 ]; then
36  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/g77.info.gz || :
37fi
38
39%endif
40%endif
Note: See TracBrowser for help on using the repository browser.