From 20e34b49a4826476e18d6cd277e603dbf8a2fead Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Tue, 16 Feb 2016 10:43:14 +0100 Subject: [PATCH] Remove dangling symlink to /etc/init.d/mysql --- mariadb.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 9d97995..354bb5b 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -122,7 +122,7 @@ Name: mariadb Version: %{compatver}.%{bugfixver} -Release: 8%{?with_debug:.debug}%{?dist} +Release: 9%{?with_debug:.debug}%{?dist} Epoch: 1 Summary: A community developed branch of MySQL @@ -769,8 +769,9 @@ install -p -m 0644 mysql-test/rh-skipped-tests.list %{buildroot}%{_datadir}/mysq # remove unneeded RHEL-4 SELinux stuff rm -rf %{buildroot}%{_datadir}/%{pkg_name}/SELinux/ -# remove SysV init script +# remove SysV init script and a symlink to that rm -f %{buildroot}%{_sysconfdir}/init.d/mysql +rm -f %{buildroot}%{_libexecdir}/rcmysql # remove duplicate logrotate script rm -f %{buildroot}%{_sysconfdir}/logrotate.d/mysql @@ -1144,7 +1145,6 @@ fi %{_libexecdir}/mysql-check-socket %{_libexecdir}/mysql-check-upgrade %{_libexecdir}/mysql-scripts-common -%{_libexecdir}/rcmysql %{?with_init_systemd:%{_tmpfilesdir}/%{name}.conf} %attr(0755,mysql,mysql) %dir %{pidfiledir} @@ -1205,6 +1205,9 @@ fi %endif %changelog +* Tue Feb 16 2016 Honza Horak - 1:10.1.11-9 +- Remove dangling symlink to /etc/init.d/mysql + * Sat Feb 13 2016 Honza Horak - 1:10.1.11-8 - Use epoch for obsoleting mariadb-galera-server