better way
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=120
This commit is contained in:
parent
d4d9047498
commit
69cd92f203
@ -10,8 +10,9 @@ install -m 644 _build/sql/mysqld.sym %buildroot%_libdir/mysql/mysqld.sym
|
|||||||
# remove handler socket client
|
# remove handler socket client
|
||||||
rm -f %buildroot%_libdir/libhsclient*
|
rm -f %buildroot%_libdir/libhsclient*
|
||||||
rm -f %buildroot%_bindir/hsclient*
|
rm -f %buildroot%_bindir/hsclient*
|
||||||
[ -z "`ls %buildroot%_bindir/mytop 2> /dev/null`" ] || \
|
if [ -f "%{buildroot}%{_bindir}/mytop" ]; then
|
||||||
mv %buildroot%_bindir/mytop %buildroot%_bindir/%{name}_mytop
|
mv %{buildroot}%{_bindir}/mytop %{buildroot}%{_bindir}/%{name}_mytop
|
||||||
|
fi
|
||||||
rm -f %buildroot%_libdir/mysql/plugin/handlersocket.so
|
rm -f %buildroot%_libdir/mysql/plugin/handlersocket.so
|
||||||
# remove most static libs (FIXME: don't build them at all...)
|
# remove most static libs (FIXME: don't build them at all...)
|
||||||
rm -f %buildroot%_libdir/libmysqlclient*a
|
rm -f %buildroot%_libdir/libmysqlclient*a
|
||||||
|
Loading…
Reference in New Issue
Block a user