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
|
# use it for options that affect everything
|
||||||
#
|
#
|
||||||
[client-server]
|
[client-server]
|
||||||
|
|||||||
12
mysql.spec
12
mysql.spec
@ -30,7 +30,7 @@
|
|||||||
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
Name: mysql
|
Name: mysql
|
||||||
Version: 8.0.28
|
Version: 8.0.28
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: MySQL client programs and shared libraries
|
Summary: MySQL client programs and shared libraries
|
||||||
URL: http://www.mysql.com
|
URL: http://www.mysql.com
|
||||||
License: GPLv2 with exceptions and LGPLv2 and BSD
|
License: GPLv2 with exceptions and LGPLv2 and BSD
|
||||||
@ -126,7 +126,7 @@ package itself.
|
|||||||
|
|
||||||
%package common
|
%package common
|
||||||
Summary: The shared files required for MySQL server and client
|
Summary: The shared files required for MySQL server and client
|
||||||
Requires: %{_sysconfdir}/my.cnf
|
Requires: %{name}-config%{?_isa} = %{sameevr}
|
||||||
%description common
|
%description common
|
||||||
The mysql-common package provides the essential shared files for any
|
The mysql-common package provides the essential shared files for any
|
||||||
MySQL program. You will need to install this package to use any other
|
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
|
Summary: The MySQL server and related files
|
||||||
Suggests: %{name}%{?_isa} = %{sameevr}
|
Suggests: %{name}%{?_isa} = %{sameevr}
|
||||||
Requires: mysql%{?_isa}
|
Requires: mysql%{?_isa}
|
||||||
Requires: %{name}-common%{?_isa} = %{sameevr} %{_sysconfdir}/my.cnf
|
Requires: %{name}-common%{?_isa} = %{sameevr} %{name}-errmsg%{?_isa} = %{sameevr}
|
||||||
Requires: %{_sysconfdir}/my.cnf.d %{name}-errmsg%{?_isa} = %{sameevr}
|
|
||||||
%{?mecab:Requires: mecab-ipadic}
|
%{?mecab:Requires: mecab-ipadic}
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
@ -542,6 +541,9 @@ fi
|
|||||||
%{_mandir}/man1/mysql_config.1*
|
%{_mandir}/man1/mysql_config.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Nov 10 2023 haomimi <haomimi@uniontech.com> - 8.0.28-4
|
||||||
- fix Failed to start mysqld.service
|
- fix Failed to start mysqld.service
|
||||||
|
|
||||||
@ -615,4 +617,4 @@ fi
|
|||||||
- add fstack-protector-strong
|
- add fstack-protector-strong
|
||||||
|
|
||||||
* Fri Feb 28 2020 catastrowings <jianghuhao1994@163.com> 8.0.17-2
|
* 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