|
@@ -1,11 +1,9 @@
|
|
|
-%{!?use_lzo:%define use_lzo 1}
|
|
|
-
|
|
|
%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
%global _initddir %{_sysconfdir}/init.d/
|
|
|
|
|
|
Name: groonga
|
|
|
-Version: 7.0.2
|
|
|
+Version: 7.1.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: An Embeddable Fulltext Search Engine
|
|
|
|
|
@@ -17,9 +15,7 @@ Source0: http://packages.groonga.org/source/groonga/groonga-%{version}.tar.gz
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
|
|
|
BuildRequires: mecab-devel
|
|
|
BuildRequires: zlib-devel
|
|
|
-%if %{use_lzo}
|
|
|
BuildRequires: lzo-devel
|
|
|
-%endif
|
|
|
BuildRequires: pcre-devel
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
Requires: %{name}-plugin-suggest = %{version}-%{release}
|
|
@@ -38,10 +34,6 @@ on relational data model.
|
|
|
Summary: Runtime libraries for groonga
|
|
|
Group: System Environment/Libraries
|
|
|
License: LGPLv2 and (MIT or GPLv2)
|
|
|
-Requires: zlib
|
|
|
-%if %{use_lzo}
|
|
|
-Requires: lzo
|
|
|
-%endif
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
@@ -157,9 +149,7 @@ Munin plugins for Groonga
|
|
|
--disable-static \
|
|
|
--with-package-platform=centos6 \
|
|
|
--with-zlib \
|
|
|
-%if %{use_lzo}
|
|
|
--with-lzo \
|
|
|
-%endif
|
|
|
--with-mecab \
|
|
|
--with-munin-plugins \
|
|
|
--enable-mruby
|
|
@@ -209,6 +199,9 @@ cat <<EOC > $RPM_BUILD_ROOT%{_sysconfdir}/munin/plugin-conf.d/groonga
|
|
|
env.gqtp_query_log_path %{_localstatedir}/log/groonga/query-gqtp.log
|
|
|
EOC
|
|
|
|
|
|
+# this file is needed by systemd only
|
|
|
+rm -rf %{buildroot}%{_sysconfdir}/tmpfiles.d
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
@@ -360,6 +353,9 @@ chown -R groonga:groonga %{_localstatedir}/run/groonga
|
|
|
%config(noreplace) %{_sysconfdir}/munin/plugin-conf.d/*
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Dec 30 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.1.0-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Mon May 1 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.2-1
|
|
|
- new upstream release.
|
|
|
|