Browse Source

mariadb-10.2.7-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11162 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
819ad7b27c
1 changed files with 21 additions and 12 deletions
  1. 21 12
      m/mariadb/mariadb-vl.spec

+ 21 - 12
m/mariadb/mariadb-vl.spec

@@ -11,8 +11,8 @@
 %define _unpackaged_files_terminate_build 1
 %define _unpackaged_files_terminate_build 1
 
 
 %define mariadb_base_version	10.1
 %define mariadb_base_version	10.1
-%define mariadb_version		10.1.23
-%define mroonga_version		7.02
+%define mariadb_version		10.2.7
+%define mroonga_version		7.04
 %define client_version		18
 %define client_version		18
 
 
 Vendor: Project Vine
 Vendor: Project Vine
@@ -35,7 +35,8 @@ Source1000:	macros.mariadb.in
 
 
 # replace mroonga to the newest version.
 # replace mroonga to the newest version.
 #patch1000: mariadb-%{mariadb_version}-mroonga-master.patch
 #patch1000: mariadb-%{mariadb_version}-mroonga-master.patch
-patch1000: mariadb-%{mariadb_version}-mroonga-v%{mroonga_version}.patch
+Patch1000: mariadb-%{mariadb_version}-mroonga-v%{mroonga_version}.patch
+Patch1001: mroonga_for_mariadb-10.2.patch
 
 
 #
 #
 #Patch2000:	mysql-srv_buf_size.patch
 #Patch2000:	mysql-srv_buf_size.patch
@@ -207,6 +208,7 @@ into a client application instead of running as a separate process.
 %prep
 %prep
 %setup -q
 %setup -q
 %patch1000 -p1 -b .mroonga
 %patch1000 -p1 -b .mroonga
+%patch1001 -p1 -b .mariadb-10.2
 #%patch2000 -p1 -b .srv_buf_size
 #%patch2000 -p1 -b .srv_buf_size
 
 
 %build
 %build
@@ -218,7 +220,7 @@ set -eu
 touch optional-files-devel
 touch optional-files-devel
 
 
 export CFLAGS=${MYSQL_BUILD_CFLAGS:-${CFLAGS:-$RPM_OPT_FLAGS}}
 export CFLAGS=${MYSQL_BUILD_CFLAGS:-${CFLAGS:-$RPM_OPT_FLAGS}}
-export CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti}}
+export CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-rtti}}
 
 
 # Build full release
 # Build full release
 mkdir release
 mkdir release
@@ -234,6 +236,7 @@ mkdir release
       -DWITH_EMBEDDED_SERVER="ON" \
       -DWITH_EMBEDDED_SERVER="ON" \
       -DWITH_ZLIB="system" \
       -DWITH_ZLIB="system" \
       -DWITH_LOCALES="yes" \
       -DWITH_LOCALES="yes" \
+      -DWITH_SSL="system" \
       -DWITH_UNIT_TESTS="no" \
       -DWITH_UNIT_TESTS="no" \
       -DWITH_SEQUENCE_STORAGE_ENGINE="ON" \
       -DWITH_SEQUENCE_STORAGE_ENGINE="ON" \
       -DWITH_XTRADB_STORAGE_ENGINE="ON" \
       -DWITH_XTRADB_STORAGE_ENGINE="ON" \
@@ -426,7 +429,7 @@ fi
 %{!?_licensedir:%global license %%doc}
 %{!?_licensedir:%global license %%doc}
 %license COPYING* EXCEPTIONS-CLIENT
 %license COPYING* EXCEPTIONS-CLIENT
 
 
-%doc CREDITS README doc/*
+%doc CREDITS README.md doc/*
 %doc release/support-files/my-*.cnf
 %doc release/support-files/my-*.cnf
 %doc %{_infodir}/mysql.info*
 %doc %{_infodir}/mysql.info*
 
 
@@ -457,8 +460,6 @@ fi
 %doc %{_mandir}/man1/mysql.server.1*
 %doc %{_mandir}/man1/mysql.server.1*
 %doc %{_mandir}/man1/mysqltest.1*
 %doc %{_mandir}/man1/mysqltest.1*
 %doc %{_mandir}/man1/mysql_tzinfo_to_sql.1*
 %doc %{_mandir}/man1/mysql_tzinfo_to_sql.1*
-%doc %{_mandir}/man1/mysql_zap.1*
-%doc %{_mandir}/man1/mysqlbug.1*
 %doc %{_mandir}/man1/perror.1*
 %doc %{_mandir}/man1/perror.1*
 %doc %{_mandir}/man1/replace.1*
 %doc %{_mandir}/man1/replace.1*
 %doc %{_mandir}/man1/resolve_stack_dump.1*
 %doc %{_mandir}/man1/resolve_stack_dump.1*
@@ -476,13 +477,14 @@ fi
 %{_bindir}/mysql_convert_table_format
 %{_bindir}/mysql_convert_table_format
 %{_bindir}/mysql_fix_extensions
 %{_bindir}/mysql_fix_extensions
 %{_bindir}/mysql_install_db
 %{_bindir}/mysql_install_db
+%ifarch x86_64
+%{_bindir}/mysql_ldb
+%endif
 %{_bindir}/mysql_plugin
 %{_bindir}/mysql_plugin
 %{_bindir}/mysql_secure_installation
 %{_bindir}/mysql_secure_installation
 %{_bindir}/mysql_setpermission
 %{_bindir}/mysql_setpermission
 %{_bindir}/mysql_tzinfo_to_sql
 %{_bindir}/mysql_tzinfo_to_sql
 %{_bindir}/mysql_upgrade
 %{_bindir}/mysql_upgrade
-%{_bindir}/mysql_zap
-%{_bindir}/mysqlbug
 %{_bindir}/mysqld_multi
 %{_bindir}/mysqld_multi
 %{_bindir}/mysqld_safe
 %{_bindir}/mysqld_safe
 %{_bindir}/mysqld_safe_helper
 %{_bindir}/mysqld_safe_helper
@@ -493,6 +495,9 @@ fi
 %{_bindir}/replace
 %{_bindir}/replace
 %{_bindir}/resolve_stack_dump
 %{_bindir}/resolve_stack_dump
 %{_bindir}/resolveip
 %{_bindir}/resolveip
+%ifarch x86_64
+%{_bindir}/sst_dump
+%endif
 %{_bindir}/wsrep*
 %{_bindir}/wsrep*
 %{_sbindir}/mysqld
 %{_sbindir}/mysqld
 %{_sbindir}/rcmysql
 %{_sbindir}/rcmysql
@@ -505,9 +510,6 @@ fi
 %{_libdir}/mysql
 %{_libdir}/mysql
 %config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset
 %config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset
 %config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf
 %config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf
-%ifarch x86_64
-%config(noreplace) %{_sysconfdir}/my.cnf.d/tokudb.cnf
-%endif
 %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
 %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
 %{_sysconfdir}/init.d/mysql
 %{_sysconfdir}/init.d/mysql
 %{_datadir}/mysql
 %{_datadir}/mysql
@@ -527,6 +529,7 @@ fi
 %ifarch x86_64
 %ifarch x86_64
 %files tokudb
 %files tokudb
 %defattr(-, root, root)
 %defattr(-, root, root)
+%config(noreplace) %{_sysconfdir}/my.cnf.d/tokudb.cnf
 %{_libdir}/mysql/plugin/ha_tokudb.so
 %{_libdir}/mysql/plugin/ha_tokudb.so
 %{_bindir}/tokuft*
 %{_bindir}/tokuft*
 %doc %{_mandir}/man1/tokuft*
 %doc %{_mandir}/man1/tokuft*
@@ -568,6 +571,7 @@ fi
 %files devel
 %files devel
 %defattr(-, root, root)
 %defattr(-, root, root)
 %doc %{_mandir}/man1/mysql_config.1*
 %doc %{_mandir}/man1/mysql_config.1*
+%{_bindir}/mariadb_config
 %{_bindir}/mysql_config
 %{_bindir}/mysql_config
 %{_includedir}/mysql
 %{_includedir}/mysql
 %{_datadir}/aclocal/mysql.m4
 %{_datadir}/aclocal/mysql.m4
@@ -601,9 +605,14 @@ fi
 %files embedded
 %files embedded
 %defattr(-,root,root)
 %defattr(-,root,root)
 %{_libdir}/libmysqld.so.*
 %{_libdir}/libmysqld.so.*
+%{_libdir}/libmariadb.so.*
 
 
 
 
 %changelog
 %changelog
+* Sun Jul 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2.7-1
+- new upstream release.
+- replaced patch1000 to update Mroonga to v7.04.
+
 * Thu May  4 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.23-1
 * Thu May  4 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.23-1
 - new upstream release.
 - new upstream release.
 - replaced patch1000 to update Mroonga to v7.02.
 - replaced patch1000 to update Mroonga to v7.02.