update mariadb.spec.

解决在安装mariadb-test这个包时,提示perl相关的文件依赖告警的问题
This commit is contained in:
steven 2020-03-02 19:28:34 +08:00 committed by Gitee
parent 2a7b518938
commit 8f4d2fe61f

View File

@ -2,7 +2,7 @@
Name: mariadb Name: mariadb
Version: 10.3.9 Version: 10.3.9
Release: 7 Release: 8
Epoch: 3 Epoch: 3
Summary: One of the most popular database servers Summary: One of the most popular database servers
License: GPLv2 with exceptions and LGPLv2 and BSD License: GPLv2 with exceptions and LGPLv2 and BSD
@ -33,6 +33,7 @@ Requires: mariadb-connector-c >= 3.0
Suggests: %{name}-server%{?_isa} = %{epoch}:%{version}-%{release} Suggests: %{name}-server%{?_isa} = %{epoch}:%{version}-%{release}
Provides: mariadb-galera = %{epoch}:%{version}-%{release} Provides: mariadb-galera = %{epoch}:%{version}-%{release}
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::)
%description %description
MariaDB turns data into structured information in a wide array of applications, MariaDB turns data into structured information in a wide array of applications,
@ -597,6 +598,9 @@ fi
%changelog %changelog
* Mon Mar 2 2020 steven <steven_ygui@163.com> - 3:10.3.9-8
- Add requires exclude for perls
* Sun Jan 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 3:10.3.9-7 * Sun Jan 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 3:10.3.9-7
- Add mysql_install_db command in service file - Add mysql_install_db command in service file