Require mysql and mysql-compat-client only when providing them, since otherwise we cannot be sure there is such a package in the repo
This commit is contained in:
parent
1eadb03b89
commit
0878280bf1
@ -236,7 +236,12 @@ Summary: The MySQL server and related files
|
|||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
|
|
||||||
# note: no version here = %%{sameevr}
|
# note: no version here = %%{sameevr}
|
||||||
|
%if %{with mysql_names}
|
||||||
|
Requires: mysql-compat-client%{?_isa}
|
||||||
Requires: mysql%{?_isa}
|
Requires: mysql%{?_isa}
|
||||||
|
%else
|
||||||
|
Requires: %{name}%{?_isa}
|
||||||
|
%endif
|
||||||
Requires: %{name}-common%{?_isa} = %{sameevr}
|
Requires: %{name}-common%{?_isa} = %{sameevr}
|
||||||
Requires: %{_sysconfdir}/my.cnf
|
Requires: %{_sysconfdir}/my.cnf
|
||||||
Requires: %{_sysconfdir}/my.cnf.d
|
Requires: %{_sysconfdir}/my.cnf.d
|
||||||
|
Loading…
Reference in New Issue
Block a user