]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-pythondeps.patch
- updated todo (pythondeps needs fixing)
[packages/rpm.git] / rpm-pythondeps.patch
index 10ead2bf51625b7466b71ca48629e711a7b75b3e..834754404a9dd3b2e14079b020983ffffa91d088 100644 (file)
  -P|--provides)
      shift
 -    grep "/usr/bin/python\*\$" >& /dev/null && echo "python(abi) = ${PYVER}"
-+    grep -q "/usr/lib[^/]*/libpython2\..*\.so.*\$" && echo "python(abi) = ${PYVER}"
++    grep "/usr/lib[^/]*/libpython2\..*\.so.*\$" >/dev/null && echo "python(abi) = ${PYVER}"
      exit 0
      ;;
  -R|--requires)
      shift
 -    grep "/usr/lib[^/]*/python${PYVER}/" >& /dev/null && echo "python(abi) = ${PYVER}"
-+    grep -q "/usr/\(lib[^/]*\|share\)/python${PYVER}/" && echo "python(abi) = ${PYVER}"
++    grep "/usr/\(lib[^/]*\|share\)/python${PYVER}/" >/dev/null && echo "python(abi) = ${PYVER}"
      exit 0
      ;;
  esac
This page took 0.023876 seconds and 4 git commands to generate.