Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mysql-functions8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions
index 491b794..68bc37d 100755
--- a/bin/mysql-functions
+++ b/bin/mysql-functions
@@ -583,8 +583,12 @@ mysql_generate_package_metadata() {
'pkgver' "${pkgver}" \
'pkgrel' "${pkgrel}" \
'pkgname' "${pkgname}"
- printf ' `binary_packages`.`sub_pkgrel` = %s AND' \
- "${sub_pkgrel}"
+ # we do not want to match the sub_pkgrel:
+ # a) it is tedious to do so (because it may be calculated
+ # dynamically)
+ # b) it is not necessary to do so: if only the sub_pkgrel
+ # changed, the dependencies and provided install_targets
+ # should not have changed
printf ' `architectures`.`name` = from_base64("%s") AND' \
"${arch}"
printf ' `repositories`.`name` = from_base64("%s");\n' \