b585ba
#!/bin/sh
b585ba
# Munge Perl requirements:
b585ba
# - remove dependency on Config::Inifiles
b585ba
# - only require File::Path >= 1.04, not >= 1.404
b585ba
#   (since rpmvercmp thinks 04 < 1.404, not unreasonably)
b585ba
# - filter out requirements for SVN:: modules; otherwise
b585ba
#   subversion requires subversion-perl
b585ba
/usr/lib/rpm/perl.req $* | 
b585ba
sed -e '/perl(Config::IniFiles)/d' \
b585ba
    -e '/perl(SVN::/d' \
b585ba
    -e 's/perl(File::Path) >= 1.0404/perl(File::Path) >= 1.04/'
b585ba
b585ba