mirror of
https://github.com/MariaDB/server.git
synced 2025-10-21 08:47:42 +03:00
Revert library changes, let's just stick with keeping to existing
setup for now, leave large changes to later.
This commit is contained in:
@@ -406,8 +406,8 @@ then
|
|||||||
if [ -f $libgcc ]
|
if [ -f $libgcc ]
|
||||||
then
|
then
|
||||||
%define WITH_LIBGCC 1
|
%define WITH_LIBGCC 1
|
||||||
mkdir -p $RBR%{_libdir}
|
mkdir -p $RBR%{_libdir}/mysql
|
||||||
install -m 644 $libgcc $RBR%{_libdir}/libmygcc.a
|
install -m 644 $libgcc $RBR%{_libdir}/mysql/libmygcc.a
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -432,6 +432,11 @@ install -d $RBR%{_sbindir}
|
|||||||
make DESTDIR=$RBR install
|
make DESTDIR=$RBR install
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# FIXME: at some point we should stop doing this and just install everything
|
||||||
|
# FIXME: directly into %{_libdir}/mysql - perhaps at the same time as renaming
|
||||||
|
# FIXME: the shared libraries to use libmysql*-$major.$minor.so syntax
|
||||||
|
mv -v $RBR/%{_libdir}/*.a $RBR/%{_libdir}/mysql/
|
||||||
|
|
||||||
# Install logrotate and autostart
|
# Install logrotate and autostart
|
||||||
install -m 644 $MBD/release/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql
|
install -m 644 $MBD/release/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql
|
||||||
install -m 755 $MBD/release/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql
|
install -m 755 $MBD/release/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql
|
||||||
@@ -828,14 +833,14 @@ fi
|
|||||||
%{_includedir}/mysql/*
|
%{_includedir}/mysql/*
|
||||||
%{_datadir}/aclocal/mysql.m4
|
%{_datadir}/aclocal/mysql.m4
|
||||||
%if %{WITH_LIBGCC}
|
%if %{WITH_LIBGCC}
|
||||||
%{_libdir}/libmygcc.a
|
%{_libdir}/mysql/libmygcc.a
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/libmysqlclient.a
|
%{_libdir}/mysql/libmysqlclient.a
|
||||||
%{_libdir}/libmysqlclient_r.a
|
%{_libdir}/mysql/libmysqlclient_r.a
|
||||||
%{_libdir}/libmysqlservices.a
|
%{_libdir}/mysql/libmysqlservices.a
|
||||||
%if %{CLUSTER_BUILD}
|
%if %{CLUSTER_BUILD}
|
||||||
%{_libdir}/libndbclient.a
|
%{_libdir}/mysql/libndbclient.a
|
||||||
%{_libdir}/libndbclient.la
|
%{_libdir}/mysql/libndbclient.la
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files shared
|
%files shared
|
||||||
@@ -864,8 +869,8 @@ fi
|
|||||||
%files embedded
|
%files embedded
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
%attr(755, root, root) %{_bindir}/mysql_embedded
|
%attr(755, root, root) %{_bindir}/mysql_embedded
|
||||||
%attr(644, root, root) %{_libdir}/libmysqld.a
|
%attr(644, root, root) %{_libdir}/mysql/libmysqld.a
|
||||||
%attr(644, root, root) %{_libdir}/libmysqld-debug.a
|
%attr(644, root, root) %{_libdir}/mysql/libmysqld-debug.a
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
Reference in New Issue
Block a user