summaryrefslogtreecommitdiff
path: root/testeAbhaengigkeiten
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-06-06 09:58:36 +0200
committerErich Eckner <git@eckner.net>2016-06-06 09:58:36 +0200
commitbe2df101c785a471e36d5a8119ec418e11ee45b6 (patch)
treec8b07ccdc134c61579945505ec9dd18d3ca13fec /testeAbhaengigkeiten
parent8ac52bb28ab1c0d7e14804bd2bcab37f8b639db4 (diff)
downloadarchlinuxewe.git.save-be2df101c785a471e36d5a8119ec418e11ee45b6.tar.xz
testeAbhaengigkeiten erkennt nun mehr Formate für perl-Versionen
Diffstat (limited to 'testeAbhaengigkeiten')
-rwxr-xr-xtesteAbhaengigkeiten6
1 files changed, 4 insertions, 2 deletions
diff --git a/testeAbhaengigkeiten b/testeAbhaengigkeiten
index d1715c00..59892563 100755
--- a/testeAbhaengigkeiten
+++ b/testeAbhaengigkeiten
@@ -76,8 +76,10 @@ meta="$(
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:]]\+\)\.\([[:digit:]]\{3\}\)\([[:digit:]]\+\(\s\|\$\)\)@\1\2.\3.\4@" | \
- sed "s@\(\sperl:\s\+\)\([[:digit:]]\+\)[._]0*\([1-9][[:digit:]]*\)[._]0*\([1-9][[:digit:]]*\(\s\|\$\)\)@\1'\2.\3.\4'@"
+ sed "s@\(\sperl:\s\+\)'\?\([[:digit:]]\+\)\.\([[:digit:]]\{3\}\)'\?\(\s\|\$\)@\1\2.\3.0\4@" | \
+ sed "s@\(\sperl:\s\+\)'\?\([[:digit:]]\+\)\.\([[:digit:]]\{3\}\)\([[:digit:]]\+\)'\?\(\s\|\$\)@\1\2.\3.\4\5@" | \
+ sed "s@\(\sperl:\s\+\)'\?\([[:digit:]]\+\)[._]0*\([1-9][[:digit:]]*\)[._]0*\([1-9][[:digit:]]*\)'\?\(\s\|\$\)@\1\2.\3.\4\5@" | \
+ sed "s@\(\sperl:\s\+\)'\?\([[:digit:]]\+\)[._]0*\([1-9][[:digit:]]*\)[._]0\+'\?\(\s\|\$\)@\1\2.\3.0\4@"
)"
echo "... fertig, verarbeiten ..."