Changeset 4835eb0 in rtems


Ignore:
Timestamp:
Dec 12, 2011, 10:51:05 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
ec1dc981
Parents:
14d4397
Message:

Fix perl module filtering.

Location:
contrib/crossrpms/autotools
Files:
2 edited

Legend:

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

    r14d4397 r4835eb0  
    3131@SOURCES@
    3232
     33# remove bogus Autoconf perl dependencies and provides
     34%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Autom4te::
     35%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Autom4te::
     36
    3337%description
    3438GNU's Autoconf is a tool for configuring source code and Makefiles.
     
    4852%{?PATCH0:%patch0 -p1}
    4953
     54%if !%{defined fedora}
    5055# Work around rpm inserting bogus perl-module deps
    5156cat << \EOF > %{name}-prov
     
    5459    sed -e '/^perl(Autom4te/d'
    5560EOF
    56 %define __perl_provides %{_builddir}/autoconf-%{srcvers}/%{name}-prov
     61%global __perl_provides %{_builddir}/autoconf-%{srcvers}/%{name}-prov
    5762chmod +x %{__perl_provides}
    5863
     
    6267    sed -e '/^perl(Autom4te/d'
    6368EOF
    64 %define __perl_requires %{_builddir}/autoconf-%{srcvers}/%{name}-requ
     69%global __perl_requires %{_builddir}/autoconf-%{srcvers}/%{name}-requ
    6570chmod +x %{__perl_requires}
     71%endif
    6672
    6773%build
  • contrib/crossrpms/autotools/automake.add

    r14d4397 r4835eb0  
    2828@SOURCES@
    2929
     30# remove bogus Automake perl dependencies and provides
     31%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake::
     32%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake::
     33
    3034%description
    3135Automake is a tool for automatically generating "Makefile.in"s from
     
    3943%{?PATCH0:%patch0 -p1}
    4044
     45%if !%{defined fedora}
    4146# Work around rpm inserting bogus perl-module deps
    4247cat << \EOF > %{name}-prov
     
    4550    sed -e '/^perl(Automake/d'
    4651EOF
    47 %define __perl_provides %{_builddir}/automake-%{srcvers}/%{name}-prov
     52%global __perl_provides %{_builddir}/automake-%{srcvers}/%{name}-prov
    4853chmod +x %{__perl_provides}
    4954
     
    5358    sed -e '/^perl(Automake/d'
    5459EOF
    55 %define __perl_requires %{_builddir}/automake-%{srcvers}/%{name}-requ
     60%global __perl_requires %{_builddir}/automake-%{srcvers}/%{name}-requ
    5661chmod +x %{__perl_requires}
    57 
     62%endif
    5863
    5964%build
Note: See TracChangeset for help on using the changeset viewer.