From 3e8dca5f47ff0d1a55dad86bddd98dd805ef4f77 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 13 Jan 2014 14:36:16 -0600 Subject: [PATCH] move mysql_config alternatives scriptlets to -devel too --- mariadb.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 0424395..5fb48c6 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -7,7 +7,7 @@ Name: mariadb Version: 5.5.34 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 Summary: A community developed branch of MySQL @@ -530,7 +530,7 @@ rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/mysql # remove solaris files rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/ -%post +%post devel %{_sbindir}/update-alternatives --install %{_bindir}/mysql_config \ mysql_config %{_libdir}/mysql/mysql_config %{__isa_bits} @@ -578,7 +578,7 @@ fi %post embedded -p /sbin/ldconfig -%postun +%postun devel if [ $1 -eq 0 ] ; then %{_sbindir}/update-alternatives --remove mysql_config %{_libdir}/mysql/mysql_config fi @@ -800,6 +800,9 @@ fi %{_mandir}/man1/mysql_client_test.1* %changelog +* Mon Jan 13 2014 Rex Dieter 1:5.5.34-8 +- move mysql_config alternatives scriptlets to -devel too + * Fri Jan 10 2014 Honza Horak 1:5.5.34-7 - Build with -O3 on ppc64 Related: #1051069