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