From 910309466e4dab68cdb008dfadfdf65757ff0f59 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Thu, 18 Mar 2021 03:18:43 +0100 Subject: [PATCH] Fix comment, use macro This obsoletes: https://src.fedoraproject.org/rpms/mariadb/pull-request/23 --- mariadb.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 85767b3..1fead95 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -975,8 +975,9 @@ rm %{buildroot}%{_libexecdir}/rcmysql # We don't use this location of service files # Note: currently there still are "mariadb" named systemd service files on this location rm %{buildroot}%{_datadir}/%{pkg_name}/systemd/{mysql,mysqld}.service -# These may come handy in a future, but right now we use our own services -rm %{buildroot}/usr/lib/systemd/system/{mysql,mysqld}.service +# Our downstream Systemd service file have set aliases to the "mysql" names in the [Install] section. +# They can be enabled / disabled by "systemctl enable / diable " +rm %{buildroot}%{_unitdir}/{mysql,mysqld}.service # install systemd unit files and scripts for handling server startup install -D -p -m 644 %{_vpath_builddir}/scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service