diff --git a/bacula.spec b/bacula.spec index 2e1247a..79c4f9d 100644 --- a/bacula.spec +++ b/bacula.spec @@ -3,7 +3,7 @@ Name: bacula Version: 9.0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cross platform network backup for Linux, Unix, Mac and Windows # See LICENSE for details License: AGPLv3 with exceptions @@ -58,7 +58,6 @@ BuildRequires: libstdc++-devel BuildRequires: libxml2-devel BuildRequires: libcap-devel BuildRequires: lzo-devel -BuildRequires: mysql-devel BuildRequires: ncurses-devel BuildRequires: postgresql-devel BuildRequires: qt4-devel >= 4.6.2 @@ -84,6 +83,12 @@ BuildRequires: openssl-devel BuildRequires: systemd %endif +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 +BuildRequires: mariadb-connector-c-devel +%else +BuildRequires: mysql-devel +%endif + %description Bacula is a set of programs that allow you to manage the backup, recovery, and verification of computer data across a network of different computers. It is @@ -724,6 +729,9 @@ fi %{_libdir}/nagios/plugins/check_bacula %changelog +* Mon Oct 23 2017 Simone Caronni - 9.0.4-2 +- Use mariadb-connector-c-devel as build requirement for Fedora 28+ (#1493612). + * Fri Sep 15 2017 Simone Caronni - 9.0.4-1 - Update to 9.0.4.