summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-02-09 09:37:51 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-02-09 09:37:51 +0200
commit3a3152981c7f54c801240b34663f0afb16877bfd (patch)
tree1d15c6193f122f66d9a67b59b82f113c0e382f87 /scripts
parent121f73bb4932d15e618e82d5c6d7b43280dc0f7d (diff)
downloadrpm-3a3152981c7f54c801240b34663f0afb16877bfd.tar.gz
Unbreak python(abi) requires generation (RhBug:562906)
- commit 426a7b6f44c6a0e1633693575c7bb6fcc76cf8a5 caused pythondeps.sh to match too much, undo the damage - patch from David Malcolm
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pythondeps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pythondeps.sh b/scripts/pythondeps.sh
index 7bf6fecb2..10a060aac 100755
--- a/scripts/pythondeps.sh
+++ b/scripts/pythondeps.sh
@@ -23,7 +23,7 @@ case $1 in
# /PATH/OF/BUILDROOT/usr/lib64/pythonMAJOR.MINOR/
# generating (uniqely) lines of the form:
# python(abi) = MAJOR.MINOR
- grep "/usr/lib[^/]*/python.\../*" \
+ grep "/usr/lib[^/]*/python.\../.*" \
| sed -e "s|.*/usr/lib[^/]*/python\(.\..\)/.*|python(abi) = \1|g" \
| sort | uniq
;;