aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-11-23 21:02:58 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-11-23 21:02:58 +0000
commit4b8207eec4286ff57562816b6d9c450816697508 (patch)
treebdc76c99e08cbb582fca6357b06c9c6752b455ca /find-requires.in
parent2c0ecb491c9a008672e896cc4344b8466b681f4f (diff)
downloadrpm-setup-4b8207eec4286ff57562816b6d9c450816697508.tar
rpm-setup-4b8207eec4286ff57562816b6d9c450816697508.tar.gz
rpm-setup-4b8207eec4286ff57562816b6d9c450816697508.tar.bz2
rpm-setup-4b8207eec4286ff57562816b6d9c450816697508.tar.xz
rpm-setup-4b8207eec4286ff57562816b6d9c450816697508.zip
don't hardcore epoch tag in versioned perl-base dependency
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index b2c28bd..341cae0 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -93,7 +93,7 @@ fi
#
# --- Perl or python deps
for f in $filelist; do
- echo $f | sed -n -e 's@.*/usr/lib/perl5/\(site_perl/\)\([0-9]\{1,\}\.[0-9]\{1,\}\)\.\([0-9]\{1,\}\).*$@perl-base >= \2.\3@p' -e 's@.*/usr/lib/perl5/\(vendor_perl\/\)\([.0-9]\{1,\}\).*$@perl-base >= 2:\2@p' -e 's@.*/usr/\(lib\|lib64\)/python\([.0-9]\{1,\}\).*$@python-base >= \2@p'
+ echo $f | sed -n -e 's@.*/usr/lib/perl5/\(site_perl/\)\([0-9]\{1,\}\.[0-9]\{1,\}\)\.\([0-9]\{1,\}\).*$@perl-base >= \2.\3@p' -e "s@.*/usr/lib/perl5/\(vendor_perl\/\)\([.0-9]\{1,\}\).*\$@perl-base >= @PERLEPOCH@\2@p" -e 's@.*/usr/\(lib\|lib64\)/python\([.0-9]\{1,\}\).*$@python-base >= \2@p'
done | sort -u