forked from pool/mariadb
polish
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=148
This commit is contained in:
parent
b324957121
commit
3b1ee643d8
@ -118,7 +118,7 @@ BuildMySQL() {
|
||||
-DDENABLE_DOWNLOADS=false \
|
||||
-DINSTALL_PLUGINDIR_RPM="%{_lib}/mysql/plugin" \
|
||||
-DINSTALL_LIBDIR_RPM="%{_lib}" \
|
||||
"$@" ..
|
||||
-Wno-dev "$@" ..
|
||||
make %{?jobs:-j%jobs}
|
||||
nm --numeric-sort sql/mysqld > sql/mysqld.sym
|
||||
popd
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe449958e77e4d7a03f6180e83b8c6bc12b004fcc4b139f8748779c7180cba2d
|
||||
size 312
|
||||
oid sha256:1bab94525f538ed0409299b3ba5abec093f4e3fd3e6e81f2d22d2f531f998259
|
||||
size 316
|
||||
|
@ -100,8 +100,6 @@ sed -i 's|@MYSQLVER@|%{version}|' '%buildroot'/etc/init.d/mysql
|
||||
ln -sf ../../etc/init.d/mysql '%buildroot'/usr/sbin/rcmysql
|
||||
sed -i 's|doc/packages/mysql|doc/packages/%{name}|g' '%buildroot'/etc/init.d/mysql
|
||||
%endif
|
||||
# this is used by the init script
|
||||
install -m 755 -d %buildroot/var/run/mysql
|
||||
# SuSEfirewall service description
|
||||
install -D -m 644 %_sourcedir/mysql.SuSEfirewall2 \
|
||||
%buildroot/etc/sysconfig/SuSEfirewall2.d/services/mysql
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mariadb
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -74,6 +74,7 @@ BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: libedit-devel
|
||||
BuildRequires: libevent-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: openssl-devel
|
||||
@ -477,6 +478,7 @@ done
|
||||
if [ "`ls /etc/rc.d/rc*.d/S*mysql 2> /dev/null`" ] || [ -d %{_rundir}/mysql/restart ]; then
|
||||
[ -x /usr/sbin/rcmysql ] && /usr/sbin/rcmysql start
|
||||
rmdir %{_rundir}/mysql/restart || :
|
||||
rmdir %{_rundir}/mysql || :
|
||||
fi
|
||||
# warn on first run
|
||||
datadir="/var/lib/mysql"
|
||||
@ -552,7 +554,6 @@ fi
|
||||
%dir /usr/share/mysql
|
||||
/usr/share/%{name}/charsets/
|
||||
/usr/share/%{name}/*.sql
|
||||
%ghost %dir %attr(755,mysql,mysql)%{_rundir}/mysql
|
||||
%dir %{_libdir}/mysql
|
||||
%{_libdir}/mysql/mysqld.sym
|
||||
%config /etc/sysconfig/SuSEfirewall2.d/services/mysql
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d38fbbdba838bd2f80cb8d278fbeeac0a182eb2f92ec035df1dee7b9c9417ff
|
||||
size 24470
|
||||
oid sha256:c09ba006de72fcfbea33dc2cf025b1fa0ab9aba2067be889bb4fa68b70c2005b
|
||||
size 24408
|
||||
|
Loading…
Reference in New Issue
Block a user