]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-pythondeps.patch
- internal file update (for compatibility with *.mgc generated by file-4.14)
[packages/rpm.git] / rpm-pythondeps.patch
CommitLineData
292b1677
JB
1--- rpm-4.4.1/scripts/pythondeps.sh.orig 2004-12-07 01:57:55.000000000 +0100
2+++ rpm-4.4.1/scripts/pythondeps.sh 2005-02-27 17:35:52.860244432 +0100
3@@ -1,4 +1,4 @@
4-#!/bin/bash
5+#!/bin/sh
6
7 [ $# -ge 1 ] || {
8 cat > /dev/null
9@@ -9,12 +9,12 @@
10 case $1 in
11 -P|--provides)
12 shift
13- grep "/usr/bin/python\*\$" >& /dev/null && echo "python(abi) = ${PYVER}"
be56de8c 14+ grep "/usr/lib[^/]*/libpython2\..*\.so.*\$" >/dev/null && echo "python(abi) = ${PYVER}"
292b1677
JB
15 exit 0
16 ;;
17 -R|--requires)
18 shift
19- grep "/usr/lib[^/]*/python${PYVER}/" >& /dev/null && echo "python(abi) = ${PYVER}"
be56de8c 20+ grep "/usr/\(lib[^/]*\|share\)/python${PYVER}/" >/dev/null && echo "python(abi) = ${PYVER}"
292b1677
JB
21 exit 0
22 ;;
23 esac
This page took 0.033228 seconds and 4 git commands to generate.