]> git.sur5r.net Git - bacula/bacula/commitdiff
rpm: Fix MySQL dependency on bacula-postgresql package
authorDavide Franco <davide.franco@baculasystems.com>
Tue, 3 Jul 2018 07:13:59 +0000 (09:13 +0200)
committerbsbuild <tech@baculasystems.com>
Tue, 3 Jul 2018 07:15:51 +0000 (09:15 +0200)
bacula/platforms/rpms/redhat/bacula.spec.in

index e11daab4b66ed9705b351fd7b19c8b317612a212..7563c275d81da3640fb3b06f3df825cddcc82880 100644 (file)
@@ -376,7 +376,7 @@ BuildRequires: %{postgres_devel_package} >= %{postgres_version}
 #
 %if %{mysql}
 %package mysql
-Provides: libbaccats-%{version}.so()(64bit)
+Provides: bacula-mysql
 #
 # The following provides is to work around an 
 #  auto generated requires from src/scripts/logwatch/applybaculadate
@@ -386,11 +386,13 @@ Provides: perl(Logwatch)
 %endif
 %if %{postgresql}
 %package postgresql
+Provides: bacula-postgresql
 %endif
 
 Summary: Bacula - The Network Backup Solution
 Group: System Environment/Daemons
 Provides: bacula-dir, bacula-sd, bacula-fd, bacula-server
+Provides: libbaccats-%{version}.so()(64bit)
 Conflicts: bacula-client
 
 Requires: ncurses, libstdc++, zlib, openssl