]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-5.4.4-drop-useless-auto-generated-pkgconfig-dependency.patch
- install cleanup
[packages/rpm.git] / rpm-5.4.4-drop-useless-auto-generated-pkgconfig-dependency.patch
1 --- rpm-5.4.4/scripts/pkgconfigdeps.sh.oneshot~ 2011-12-11 01:40:12.599487103 +0100
2 +++ rpm-5.4.4/scripts/pkgconfigdeps.sh  2011-12-11 01:40:14.418488230 +0100
3 @@ -37,12 +37,10 @@ case $1 in
4      done
5      ;;
6  -R|--requires)
7 -    oneshot="pkgconfig"
8      while read filename ; do
9      case "${filename}" in
10      *.pc)
11         if [[ "$(dirname ${filename})" =~ pkgconfig ]]; then
12 -           [ -n "$oneshot" ] && echo "$oneshot"; oneshot=""
13             # Query the dependencies of the package.
14             DIR=`dirname ${filename}`
15             PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig"
16 @@ -54,7 +52,6 @@ case $1 in
17                 else
18                     echo "pkgconfig($n)"
19                 fi
20 -               oneshot=""
21             done
22         fi
23         ;;
This page took 0.02541 seconds and 3 git commands to generate.