Changeset 2388d57 in rtems


Ignore:
Timestamp:
Feb 14, 2007, 3:50:37 PM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
43858659
Parents:
ffabba3
Message:

Make install-infos safe against --exclude-docs.
Filter bogus req/prov.
Add dirlist.

Location:
contrib/crossrpms/autotools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/autotools/automake.add

    rffabba3 r2388d57  
    4343%setup -q -n automake-%{srcvers}
    4444
     45# Work around rpm inserting bogus perl-module deps
     46cat << \EOF > %{name}-prov
     47#!/bin/sh
     48%{__perl_provides} $* |\
     49    sed -e '/^perl(Automake/d'
     50EOF
     51%define __perl_provides %{_builddir}/automake-%{srcvers}/%{name}-prov
     52chmod +x %{__perl_provides}
     53
     54cat << \EOF > %{name}-requ
     55#!/bin/sh
     56%{__perl_requires} $* |\
     57    sed -e '/^perl(Automake/d'
     58EOF
     59%define __perl_requires %{_builddir}/automake-%{srcvers}/%{name}-requ
     60chmod +x %{__perl_requires}
     61
     62
    4563%build
    4664PATH=%{_bindir}:$PATH
     
    6583done
    6684
     85%if "%{_prefix}" != "/usr"
     86mkdir -p $RPM_BUILD_ROOT%{_datadir}/aclocal
     87echo "/usr/share/aclocal" > $RPM_BUILD_ROOT%{_datadir}/aclocal/dirlist
     88%endif
     89
    6790rm -f $RPM_BUILD_ROOT%{_infodir}/dir
    6891touch $RPM_BUILD_ROOT%{_infodir}/dir
  • contrib/crossrpms/autotools/target-automake.add

    rffabba3 r2388d57  
    11%post
    2 /sbin/install-info  --info-dir=%{_infodir} %{_infodir}/automake.info.gz
     2/sbin/install-info  --info-dir=%{_infodir} %{_infodir}/automake.info.gz ||:
    33
    44%preun
    55if [ $1 -eq 0 ]; then
    6   /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz
     6  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/automake.info.gz ||:
    77fi
    88
     
    2020%{_mandir}/man1/*
    2121%sysdir %{_datadir}
     22%if "%{_prefix}" != "/usr"
     23%{_datadir}/aclocal
     24%endif
    2225%{_datadir}/aclocal-%{amvers}
    2326%{_datadir}/automake-%{amvers}
Note: See TracChangeset for help on using the changeset viewer.