aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.org>2010-02-05 01:53:53 +0000
committerMichael Scherer <misc@mandriva.org>2010-02-05 01:53:53 +0000
commit763ed40af37db97c0dabc42986e6d292c4f24ed3 (patch)
treebc9ca5d4fbe4ee91405444fa43734e3ebe58198c
parent2c7a2499d5004cbbbc9b674c505bad8875c24471 (diff)
downloadrpm-setup-763ed40af37db97c0dabc42986e6d292c4f24ed3.tar
rpm-setup-763ed40af37db97c0dabc42986e6d292c4f24ed3.tar.gz
rpm-setup-763ed40af37db97c0dabc42986e6d292c4f24ed3.tar.bz2
rpm-setup-763ed40af37db97c0dabc42986e6d292c4f24ed3.tar.xz
rpm-setup-763ed40af37db97c0dabc42986e6d292c4f24ed3.zip
- nuke requires on python-base, packages no longer exist for python 2.6
-rwxr-xr-xfind-requires.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index 1fbe75f..e1b78a2 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -101,7 +101,7 @@ fi
tmpdeplist=
for f in $filelist; do
- dep="`echo $f | sed -n -e "s@.*/usr/lib/perl5/\(vendor_perl/\|site_perl/\|\)\([.0-9]\{1,\}\).*\\$@perl-base >= $perlepoch\2@p" -e "s@.*/usr/\(lib\|lib64\)/python\([.0-9]\{1,\}\).*\\$@python-base >= \2@p"`"
+ dep="`echo $f | sed -n -e "s@.*/usr/lib/perl5/\(vendor_perl/\|site_perl/\|\)\([.0-9]\{1,\}\).*\\$@perl-base >= $perlepoch\2@p" -e "s@.*/usr/\(lib\|lib64\)/python\([.0-9]\{1,\}\).*\\$@python >= \2@p"`"
if [[ -n $dep && -z `echo $uniqdeplist $tmpdeplist|grep "$dep"` ]]; then
tmpdeplist+="$dep\n"
fi