summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-06-03 14:59:05 +0200
committerErich Eckner <git@eckner.net>2016-06-03 14:59:05 +0200
commit9dafaa21634629c2e8bff9cd5e13c98fef6bf633 (patch)
tree6ab39ab8ba1d9f1b629b4e9cd84b60756cec129e
parent4ae7dd9c9089a5f0c3a15a30f45cb847d74087d0 (diff)
downloadarchlinuxewe-9dafaa21634629c2e8bff9cd5e13c98fef6bf633.tar.xz
testeAbhaengigkeiten kann jetzt noch eher "provides"
-rwxr-xr-xtesteAbhaengigkeiten9
1 files changed, 8 insertions, 1 deletions
diff --git a/testeAbhaengigkeiten b/testeAbhaengigkeiten
index 8a120a295..e6401793e 100755
--- a/testeAbhaengigkeiten
+++ b/testeAbhaengigkeiten
@@ -72,7 +72,10 @@ meta="$(
P;
D
' | \
- sed "/^provides: /s@\(\s\S\+\):\s\+version: '\?\([0-9.]\+\)'\?@\L\1=\2@g"
+ sed "/^provides: /s@\(\s\S\+\):\s\+version: '\?\([0-9.]\+\)'\?@\L\1=\2@g" | \
+ sed "/^provides: /s@\s@ @g" | \
+ sed "/^provides: /s@\(\s[^= ]\+\):\+\(\s\|\$\)@\L\1=${pkgver}\2@g" | \
+ sed "s@\(\sperl:\s\+\)\([[:digit:]]\+\)[._]0*\([1-9][[:digit:]]*\)[._]0*\([1-9][[:digit:]]*\(\s\|\$\)\)@\1'\2.\3.\4'@"
)"
echo "... fertig, verarbeiten ..."
@@ -115,6 +118,10 @@ do
substituiere "${was}"
else
erg="perl-${was}"
+ if [[ "${erg}" == "${pkgname}="* ]]
+ then
+ erg="perl-%skip"
+ fi
fi
if [[ "${erg}" != "perl-%skip"* ]]
then