-fpm_depends+=('git>=1.7.10')
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+case "$TARGET" in
+ centos*)
+ fpm_depends+=(git bison make automake gcc gcc-c++ graphviz shared-mime-info)
+ ;;
+ ubuntu1804)
+ fpm_depends+=(git g++ bison zlib1g-dev make graphviz shared-mime-info)
+ fpm_conflicts+=(ruby-bundler)
+ ;;
+ debian* | ubuntu*)
+ fpm_depends+=(git g++ bison zlib1g-dev make graphviz shared-mime-info)
+ ;;
+esac