Fix bindep for Debian bookworm

Debian prefers Mariadb instead of mysql, the libmysqlclient-dev pkg
is not available there, replace it with libmariadb-dev-compat.
Replace mysql-server with mariadb-server.

This patch is similar to [1].

[1]https://review.opendev.org/c/openstack/nova/+/891256

Closes-Bug: #2032183
Change-Id: Ica5b2b4312337fea1f47e4c569398044bd47ecf2
This commit is contained in:
Rodolfo Alonso Hernandez 2023-08-21 13:51:14 +00:00
parent 72b5120ac2
commit 24a645d1d7

View File

@ -13,12 +13,13 @@ libffi-devel [platform:rpm]
# MySQL and PostgreSQL databases since some jobs are set up in
# OpenStack infra that need these like
# periodic-neutron-py35-with-neutron-lib-master.
libmysqlclient-dev [platform:dpkg test]
libmariadb-dev-compat [platform:debian]
libmysqlclient-dev [platform:ubuntu]
mariadb [platform:rpm test]
mariadb-devel [platform:rpm test]
mariadb-server [platform:rpm test]
mysql-client [platform:dpkg test]
mysql-server [platform:dpkg test]
mariadb-server [platform:rpm platform:redhat platform:debian test]
mysql-client [platform:dpkg !platform:debian test]
mysql-server [platform:dpkg !platform:debian test]
postgresql [test]
postgresql-client [platform:dpkg test]
postgresql-devel [platform:rpm test]