[Groonga-commit] groonga/groonga at ec5dd44 [master] package rpm: enable Zstandard for CentOS 6 or later

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Fri Nov 11 14:19:40 JST 2016


Kouhei Sutou	2016-11-11 14:19:40 +0900 (Fri, 11 Nov 2016)

  New Revision: ec5dd44c4bdbe5d4ea8607f8cfad5c83b730c5c3
  https://github.com/groonga/groonga/commit/ec5dd44c4bdbe5d4ea8607f8cfad5c83b730c5c3

  Message:
    package rpm: enable Zstandard for CentOS 6 or later

  Modified files:
    packages/rpm/centos/groonga.spec.in

  Modified: packages/rpm/centos/groonga.spec.in (+18 -2)
===================================================================
--- packages/rpm/centos/groonga.spec.in    2016-11-11 14:19:23 +0900 (3fd1b61)
+++ packages/rpm/centos/groonga.spec.in    2016-11-11 14:19:40 +0900 (34605b8)
@@ -1,9 +1,10 @@
 %define _centos_ver   %{?centos_ver:%{centos_ver}}%{!?centos_ver:5}
 
-%define _use_lz4      %{?use_lz4:%{use_lz4}}%{!?use_lz4:0}
+%define _use_lz4      %{?use_lz4:%{use_lz4}}%{!?use_lz4:%{_centos_ver} >= 6}
+%define _use_zstd     %{?use_zstd:%{use_zstd}}%{!?use_zstd:%{_centos_ver} >= 6}
 %define _use_mecab    %{?use_mecab:%{use_mecab}}%{!?use_mecab:1}
 %define _use_jemalloc %{?use_jemalloc:%{use_jemalloc}}%{!?use_jemalloc:0}
-%define _use_msgpack  %{?use_msgpack:%{use_msgpack}}%{!?use_msgpack:0}
+%define _use_msgpack  %{?use_msgpack:%{use_msgpack}}%{!?use_msgpack:%{_centos_ver} >= 7}
 %define _use_systemd  %{?use_systemd:%{use_systemd}}%{!?use_systemd:%{_centos_ver} >= 7}
 
 %define _additional_configure_options \
@@ -29,6 +30,9 @@ BuildRequires:	zlib-devel
 %if %{_use_lz4}
 BuildRequires:	lz4-devel
 %endif
+%if %{_use_zstd}
+BuildRequires:	libzstd-devel
+%endif
 %if %{_use_jemalloc}
 BuildRequires:	jemalloc-devel
 %endif
@@ -61,6 +65,9 @@ Requires:	zlib
 %if %{_use_lz4}
 Requires:	lz4
 %endif
+%if %{_use_zstd}
+Requires:	libzstd
+%endif
 %if %{_use_jemalloc}
 Requires:	jemalloc
 %endif
@@ -204,11 +211,17 @@ Munin plugins for Groonga
 %if %{!_use_lz4}
   --without-lz4 \
 %endif
+%if %{!_use_zstd}
+  --without-zstd \
+%endif
 %if %{_use_mecab}
   --with-mecab \
 %else
   --without-mecab \
 %endif
+%if %{!_use_msgpack}
+  --without-message-pack \
+%endif
   --with-munin-plugins \
   --enable-mruby \
   %{_additional_configure_options:%{additional_configure_options}}
@@ -499,6 +512,9 @@ fi
 %config(noreplace) %{_sysconfdir}/munin/plugin-conf.d/*
 
 %changelog
+* Fri Nov 11 2016 Kouhei Sutou <kou �� clear-code.com> - 6.1.1-0
+- add Zstandard support.
+
 * Sat Oct 29 2016 Kentaro Hayashi <hayashi �� clear-code.com> - 6.1.0-1
 - new upstream release.
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る