- making MariaDB default
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=101
This commit is contained in:
parent
ecaa49dbfd
commit
063c9edb0e
@ -1,2 +1,2 @@
|
|||||||
libmariadbclient18
|
libmysqlclient18
|
||||||
libmariadbclient_r18
|
libmysqlclient_r18
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:37d24159308408f3a3ae535018a312eff596a1bbf5f4a0037ce68361b11a115e
|
oid sha256:95594a9155132c002b87a956939cb5a37a93422d393729c9cf40fdeaf4361c15
|
||||||
size 220
|
size 220
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 17 09:14:41 CET 2013 - mhrusecky@suse.cz
|
||||||
|
|
||||||
|
- making MariaDB default
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 4 12:52:20 CET 2013 - mhrusecky@suse.cz
|
Fri Jan 4 12:52:20 CET 2013 - mhrusecky@suse.cz
|
||||||
|
|
||||||
|
30
mariadb.spec
30
mariadb.spec
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Few definitions which will alter build
|
# Few definitions which will alter build
|
||||||
%define prefered 0
|
%define prefered 1
|
||||||
%define use_cmake 1
|
%define use_cmake 1
|
||||||
%define cluster 0
|
%define cluster 0
|
||||||
%define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
|
%define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
|
||||||
@ -146,21 +146,21 @@ This package contains the development header files and libraries
|
|||||||
for developing applications that embed the MariaDB.
|
for developing applications that embed the MariaDB.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package -n libmariadbclient18
|
%package -n libmysqlclient18
|
||||||
Summary: Shared Libraries for MariaDB
|
Summary: Shared Libraries for MariaDB
|
||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
License: SUSE-GPL-2.0-with-FLOSS-exception
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
|
||||||
%description -n libmariadbclient18
|
%description -n libmysqlclient18
|
||||||
This package contains the shared libraries (.so) which certain
|
This package contains the shared libraries (.so) which certain
|
||||||
languages and applications need to dynamically load and use MariaDB.
|
languages and applications need to dynamically load and use MariaDB.
|
||||||
|
|
||||||
%package -n libmariadbclient_r18
|
%package -n libmysqlclient_r18
|
||||||
Summary: Shared Libraries for MariaDB
|
Summary: Shared Libraries for MariaDB
|
||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
License: SUSE-GPL-2.0-with-FLOSS-exception
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
|
||||||
%description -n libmariadbclient_r18
|
%description -n libmysqlclient_r18
|
||||||
This package contains the shared libraries (.so) which certain
|
This package contains the shared libraries (.so) which certain
|
||||||
languages and applications need to dynamically load and use MariaDB.
|
languages and applications need to dynamically load and use MariaDB.
|
||||||
|
|
||||||
@ -360,9 +360,11 @@ rm -f sql/sql_builtin.cc
|
|||||||
sed -i 's|@localstatedir@|/var/log|' support-files/mysql-log-rotate.sh
|
sed -i 's|@localstatedir@|/var/log|' support-files/mysql-log-rotate.sh
|
||||||
%if 0%{prefered} < 1
|
%if 0%{prefered} < 1
|
||||||
for i in `grep -Rl mysqlclient .`; do
|
for i in `grep -Rl mysqlclient .`; do
|
||||||
sed -i 's|mysqlclient|mariadbclient|g' $i
|
sed -i 's|mysqlclient|mysqlclient|g' $i
|
||||||
done
|
done
|
||||||
%endif
|
%endif
|
||||||
|
# Broken test that needs sources
|
||||||
|
rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{expand:%(cat %_sourcedir/build.inc)}
|
%{expand:%(cat %_sourcedir/build.inc)}
|
||||||
@ -421,13 +423,13 @@ fi
|
|||||||
# Various ldconfig post scripts #
|
# Various ldconfig post scripts #
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
%post -n libmariadbclient18 -p /sbin/ldconfig
|
%post -n libmysqlclient18 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libmariadbclient18 -p /sbin/ldconfig
|
%postun -n libmysqlclient18 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libmariadbclient_r18 -p /sbin/ldconfig
|
%post -n libmysqlclient_r18 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libmariadbclient_r18 -p /sbin/ldconfig
|
%postun -n libmysqlclient_r18 -p /sbin/ldconfig
|
||||||
|
|
||||||
%if 0%{cluster} > 1
|
%if 0%{cluster} > 1
|
||||||
|
|
||||||
@ -504,9 +506,9 @@ fi
|
|||||||
%_libdir/libmysqld.so.*
|
%_libdir/libmysqld.so.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n libmariadbclient18
|
%files -n libmysqlclient18
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libmariadbclient.so.*
|
%{_libdir}/libmysqlclient.so.*
|
||||||
|
|
||||||
%if 0%{cluster} > 1
|
%if 0%{cluster} > 1
|
||||||
|
|
||||||
@ -515,9 +517,9 @@ fi
|
|||||||
%{_libdir}/libndbclient.so.*
|
%{_libdir}/libndbclient.so.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n libmariadbclient_r18
|
%files -n libmysqlclient_r18
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libmariadbclient_r.so.*
|
%{_libdir}/libmysqlclient_r.so.*
|
||||||
|
|
||||||
%files bench -f mysql-bench.files
|
%files bench -f mysql-bench.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user