Install systemd service file on RHEL-7+

Server requires any mysql package, so it should be fine with older client

Conflicts:
	mariadb.spec
This commit is contained in:
Honza Horak 2014-09-05 13:21:47 +02:00
parent 50eb63d819
commit 6cfcb4da75

View File

@ -47,7 +47,7 @@
%bcond_without config %bcond_without config
# Include files for SysV init or systemd # Include files for SysV init or systemd
%if 0%{?fedora} >= 15 %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
%bcond_without init_systemd %bcond_without init_systemd
%bcond_with init_sysv %bcond_with init_sysv
%global daemon_name %{name} %global daemon_name %{name}
@ -276,6 +276,7 @@ Group: Applications/Databases
# note: no version here = %%{version}-%%{release} # note: no version here = %%{version}-%%{release}
Requires: mysql-compat-client%{?_isa} Requires: mysql-compat-client%{?_isa}
Requires: mysql%{?_isa}
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
@ -1125,6 +1126,8 @@ fi
* Mon Sep 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-6 * Mon Sep 08 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-6
- Disable vcol_supported_sql_funcs_myisam test on all arches - Disable vcol_supported_sql_funcs_myisam test on all arches
Related: #1096787 Related: #1096787
- Install systemd service file on RHEL-7+
Server requires any mysql package, so it should be fine with older client
* Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-5 * Thu Sep 04 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-5
- Fix paths in mysql_install_db script - Fix paths in mysql_install_db script