Browse Source

Fix rpm package for fedora

Laurent Destailleur 1 year ago
parent
commit
aeefc38d1d
2 changed files with 4 additions and 4 deletions
  1. 2 2
      build/rpm/dolibarr_fedora.spec
  2. 2 2
      build/rpm/dolibarr_generic.spec

+ 2 - 2
build/rpm/dolibarr_fedora.spec

@@ -25,8 +25,8 @@ BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
 
 Group: Applications/Productivity
-Requires: httpd, php >= 5.3.0, php-cli, php-gd, php-ldap, php-imap, php-mysqli, php-nusoap, dejavu-sans-fonts
-Requires: mysql-server, mysql
+Requires: httpd, php >= 5.3.0, php-cli, php-gd, php-ldap, php-mysqli, php-nusoap, dejavu-sans-fonts
+Requires: mariadb-server, mariadb
 #BuildRequires: desktop-file-utils
 
 # Set yes to build test package, no for release (this disable need of /usr/bin/php not found by OpenSuse)

+ 2 - 2
build/rpm/dolibarr_generic.spec

@@ -46,8 +46,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
 
 %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
 Group: Applications/Productivity
-Requires: httpd, php >= 5.3.0, php-cli, php-gd, php-ldap, php-imap, php-mysqli, php-nusoap, dejavu-sans-fonts, php-mbstring, php-xml
-Requires: mysql-server, mysql
+Requires: httpd, php >= 5.3.0, php-cli, php-gd, php-ldap, php-mysqli, php-nusoap, dejavu-sans-fonts, php-mbstring, php-xml
+Requires: mariadb-server, mariadb
 BuildRequires: desktop-file-utils
 %else
 %if 0%{?mdkversion}