move mysql_config alternatives scriptlets to -devel too

This commit is contained in:
Rex Dieter 2014-01-13 14:36:16 -06:00
parent 8b23b854ab
commit 3e8dca5f47

View File

@ -7,7 +7,7 @@
Name: mariadb Name: mariadb
Version: 5.5.34 Version: 5.5.34
Release: 7%{?dist} Release: 8%{?dist}
Epoch: 1 Epoch: 1
Summary: A community developed branch of MySQL Summary: A community developed branch of MySQL
@ -530,7 +530,7 @@ rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/mysql
# remove solaris files # remove solaris files
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/
%post %post devel
%{_sbindir}/update-alternatives --install %{_bindir}/mysql_config \ %{_sbindir}/update-alternatives --install %{_bindir}/mysql_config \
mysql_config %{_libdir}/mysql/mysql_config %{__isa_bits} mysql_config %{_libdir}/mysql/mysql_config %{__isa_bits}
@ -578,7 +578,7 @@ fi
%post embedded -p /sbin/ldconfig %post embedded -p /sbin/ldconfig
%postun %postun devel
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
%{_sbindir}/update-alternatives --remove mysql_config %{_libdir}/mysql/mysql_config %{_sbindir}/update-alternatives --remove mysql_config %{_libdir}/mysql/mysql_config
fi fi
@ -800,6 +800,9 @@ fi
%{_mandir}/man1/mysql_client_test.1* %{_mandir}/man1/mysql_client_test.1*
%changelog %changelog
* Mon Jan 13 2014 Rex Dieter <rdieter@fedoraproject.org> 1:5.5.34-8
- move mysql_config alternatives scriptlets to -devel too
* Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-7 * Fri Jan 10 2014 Honza Horak <hhorak@redhat.com> 1:5.5.34-7
- Build with -O3 on ppc64 - Build with -O3 on ppc64
Related: #1051069 Related: #1051069