Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-21 09:44:25 +0200
committerErich Eckner <git@eckner.net>2019-06-21 09:44:25 +0200
commit56d9ee76f3bf8b207e80c0f34196b996932bbeb8 (patch)
tree1419bdea3ebfd35bed4ceb46f8f84f1d84daf369 /lib
parent13f0feb04e9dda15188794519444d8a1be60d8fd (diff)
lib/common-functions: update_blocked_packages_count(): consider haskell-* makedepends equal to depends
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 442526a..c8ae383 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -965,9 +965,12 @@ update_blocked_packages_count() {
"${repository_ids__any_build_list}"
mysql_join_binary_packages_dependencies 'a_bp'
mysql_join_dependencies_dependency_types
- printf ' AND `dependency_types`.`relevant_for_binary_packages`'
mysql_join_dependencies_install_target_providers_with_versions
mysql_join_install_target_providers_binary_packages '' 'b_bp'
+ printf ' AND ('
+ printf '`dependency_types`.`relevant_for_binary_packages`'
+ printf ' OR `b_bp`.`pkgname` LIKE "haskell-%%",'
+ printf ')'
mysql_join_binary_packages_binary_packages_in_repositories 'b_bp' 'b_bpir'
printf ' AND `a_bpir`.`repository`=%s' \
"${repository_ids__any_build_list}"