fix requires to mysql-config instead of my.cnf file
This commit is contained in:
parent
0090e87723
commit
38f6dfd588
@ -1,5 +1,5 @@
|
||||
#
|
||||
# This group is read both both by the client and the server
|
||||
# This group is read both by the client and the server
|
||||
# use it for options that affect everything
|
||||
#
|
||||
[client-server]
|
||||
|
||||
12
mysql.spec
12
mysql.spec
@ -30,7 +30,7 @@
|
||||
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Name: mysql
|
||||
Version: 8.0.28
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: MySQL client programs and shared libraries
|
||||
URL: http://www.mysql.com
|
||||
License: GPLv2 with exceptions and LGPLv2 and BSD
|
||||
@ -126,7 +126,7 @@ package itself.
|
||||
|
||||
%package common
|
||||
Summary: The shared files required for MySQL server and client
|
||||
Requires: %{_sysconfdir}/my.cnf
|
||||
Requires: %{name}-config%{?_isa} = %{sameevr}
|
||||
%description common
|
||||
The mysql-common package provides the essential shared files for any
|
||||
MySQL program. You will need to install this package to use any other
|
||||
@ -145,8 +145,7 @@ The package provides error messages files for the MySQL daemon
|
||||
Summary: The MySQL server and related files
|
||||
Suggests: %{name}%{?_isa} = %{sameevr}
|
||||
Requires: mysql%{?_isa}
|
||||
Requires: %{name}-common%{?_isa} = %{sameevr} %{_sysconfdir}/my.cnf
|
||||
Requires: %{_sysconfdir}/my.cnf.d %{name}-errmsg%{?_isa} = %{sameevr}
|
||||
Requires: %{name}-common%{?_isa} = %{sameevr} %{name}-errmsg%{?_isa} = %{sameevr}
|
||||
%{?mecab:Requires: mecab-ipadic}
|
||||
Requires: coreutils
|
||||
Requires(pre): /usr/sbin/useradd
|
||||
@ -542,6 +541,9 @@ fi
|
||||
%{_mandir}/man1/mysql_config.1*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 22 2024 xiejing <xiejing@kylinos.cn> - 8.0.28-5
|
||||
- fix requires to mysql-config instead of my.cnf file
|
||||
|
||||
* Fri Nov 10 2023 haomimi <haomimi@uniontech.com> - 8.0.28-4
|
||||
- fix Failed to start mysqld.service
|
||||
|
||||
@ -615,4 +617,4 @@ fi
|
||||
- add fstack-protector-strong
|
||||
|
||||
* Fri Feb 28 2020 catastrowings <jianghuhao1994@163.com> 8.0.17-2
|
||||
- openEuler package init.
|
||||
- openEuler package init.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user