[community-mysql] Install systemd service file on RHEL-7+ Server requires any mysql package, so it should be fine with

Honza Horak hhorak at fedoraproject.org
Mon Sep 8 11:22:07 UTC 2014


commit 33065de0a2b45a1f5f5f0b6c928d29b8ee631bf0
Author: Honza Horak <hhorak at redhat.com>
Date:   Mon Sep 8 13:21:10 2014 +0200

    Install systemd service file on RHEL-7+
    Server requires any mysql package, so it should be fine with older client

 community-mysql.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/community-mysql.spec b/community-mysql.spec
index 2766e20..851b4bd 100644
--- a/community-mysql.spec
+++ b/community-mysql.spec
@@ -35,7 +35,7 @@
 %bcond_with config
 
 # Include files for SysV init or systemd
-%if 0%{?fedora} >= 15
+%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
 %bcond_without init_systemd
 %bcond_with init_sysv
 %global daemon_name mysqld
@@ -223,7 +223,7 @@ Summary:          The MySQL server and related files
 Group:            Applications/Databases
 
 # note: no version here = %%{sameevr}
-Requires:         mysql-compat-client%{?_isa}
+Requires:         mysql%{?_isa}
 Requires:         %{name}-common%{?_isa} = %{sameevr}
 Requires:         %{_sysconfdir}/my.cnf
 Requires:         %{_sysconfdir}/my.cnf.d
@@ -905,6 +905,8 @@ fi
 - Fix paths in mysql_install_db script
   Related: #1134328
 - Use %%cmake macro
+- Install systemd service file on RHEL-7+
+  Server requires any mysql package, so it should be fine with older client
 
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.6.20-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild


More information about the scm-commits mailing list