subversion/filter-requires.sh
jorton d0d9f73253 - update to 1.2.3
- merge subversion.conf changes from RHEL4
- merge filter-requires.sh changes from FC4 updates
2005-09-08 15:49:25 +00:00

14 lines
444 B
Bash
Executable File

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