[Fixup] Fix my.cnf dependency
Fixup of commit: commit 45b40b2e9c515cfb04d6eaabc0c1b2e90eb1a535 Author: Yaakov Selkowitz <yselkowi@redhat.com> Date: Mon Apr 8 23:18:44 2024 -0400 Fixup contains: - use macro instead of '/etc/' - extend the condition to other occurences
This commit is contained in:
parent
60e7da0fac
commit
7d24cb9757
@ -376,7 +376,7 @@ BuildArch: noarch
|
||||
%if 0%{?flatpak}
|
||||
Requires: mariadb-connector-c-config
|
||||
%else
|
||||
Requires: /etc/my.cnf
|
||||
Requires: %{_sysconfdir}/my.cnf
|
||||
%endif
|
||||
|
||||
# Only conflicts, provides would add %%{_isa} provides for noarch,
|
||||
@ -455,8 +455,12 @@ Recommends: %{pkgname}-backup%{?_isa} = %{sameevr}
|
||||
Suggests: mytop
|
||||
Suggests: logrotate
|
||||
|
||||
%if 0%{?flatpak}
|
||||
Requires: mariadb-connector-c-config
|
||||
%else
|
||||
Requires: %{_sysconfdir}/my.cnf
|
||||
Requires: %{_sysconfdir}/my.cnf.d
|
||||
%endif
|
||||
|
||||
%virtual_conflicts_and_provides server
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user