Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-29 14:57:12 +0100
committerErich Eckner <git@eckner.net>2018-10-29 14:57:12 +0100
commitb2fff425f4f495450f1af9713b02555637d68db9 (patch)
tree5eba43a48176a303aba1f829dc3105d7708b8f8d
parentbffd76398b350dccf36d7ec8a239408f72e8f449 (diff)
lib/mysql-functions: ommit pkgrel from versioned dependencies, etc.
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 8813577..cface1b 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -338,7 +338,7 @@ mysql_generate_package_metadata() {
t mangle_version
d
:mangle_version
- s/\(=\|<\|<=\|>=\|>\)\([^[:space:]-]\+\)$/\t\1\t\2/
+ s/\(=\|<\|<=\|>=\|>\)\([^[:space:]-]\+\)\(-\S*\)\?$/\t\1\t\2/
t split_epoch
h
s/$/\t>=\t'"${min_version}"'/