Hello community, here is the log from the commit of package sphinx for openSUSE:Factory checked in at 2018-08-10 09:49:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sphinx (Old) and /work/SRC/openSUSE:Factory/.sphinx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sphinx" Fri Aug 10 09:49:48 2018 rev:3 rq:628235 version:2.2.11 Changes: -------- --- /work/SRC/openSUSE:Factory/sphinx/sphinx.changes 2018-07-23 18:03:05.312775920 +0200 +++ /work/SRC/openSUSE:Factory/.sphinx.new/sphinx.changes 2018-08-10 09:49:49.286274144 +0200 @@ -1,0 +2,6 @@ +Wed Aug 8 15:58:30 UTC 2018 - [email protected] + +- Trim redundancies and bias from description. +- Fix RPM groups. Use more efficient find calls in .spec. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sphinx.spec ++++++ --- /var/tmp/diff_new_pack.dzzowU/_old 2018-08-10 09:49:50.326275819 +0200 +++ /var/tmp/diff_new_pack.dzzowU/_new 2018-08-10 09:49:50.330275826 +0200 @@ -1,7 +1,7 @@ # # spec file for package sphinx # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global sphinx_user sphinx %global sphinx_group sphinx %global daemon searchd @@ -26,8 +27,8 @@ Name: sphinx Version: 2.2.11 Release: 0 -Summary: Free open-source SQL full-text search engine -License: GPL-2.0 +Summary: SQL full-text search engine +License: GPL-2.0-only Group: Productivity/Databases/Servers Url: http://sphinxsearch.com/ Source0: http://sphinxsearch.com/files/%{name}-%{version}-release.tar.gz @@ -55,8 +56,8 @@ %endif %if 0%{?suse_version} > 1210 -BuildRequires: systemd-rpm-macros BuildRequires: systemd +BuildRequires: systemd-rpm-macros Requires(pre): systemd %define has_systemd 1 %else @@ -69,30 +70,22 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Sphinx is a full-text search engine, distributed under GPL version 2. -Commercial licensing (e.g. for embedded use) is also available upon request. +Sphinx is a standalone search engine providing size-efficient and +relevant full-text search functions to other applications. Sphinx +integrates with SQL databases and scripting languages. + +Data source drivers support fetching data either via direct +connection to MySQL, PostgreSQL, or from a pipe in a custom XML +format. -Generally, it's a standalone search engine, meant to provide fast, -size-efficient and relevant full-text search functions to other -applications. Sphinx was specially designed to integrate well with SQL -databases and scripting languages. - -Currently built-in data source drivers support fetching data either via -direct connection to MySQL, or PostgreSQL, or from a pipe in a custom XML -format. Adding new drivers (e.g. to natively support some other DBMSes) is -designed to be as easy as possible. - -Search API is natively ported to PHP, Python, Perl, Ruby, Java, and also -available as a pluggable MySQL storage engine. API is very lightweight so -porting it to new language is known to take a few hours. +The Search API is natively ported to PHP, Python, Perl, Ruby, Java, +and also available as a pluggable MySQL storage engine. -As for the name, Sphinx is an acronym which is officially decoded as SQL -Phrase Index. Yes, I know about CMU's Sphinx project. +Sphinx is an acronym which is officially decoded as SQL Phrase Index. %package -n libsphinxclient-%{soname} -Group: Development/Libraries/Other Summary: Pure C searchd client API library - +Group: System/Libraries %description -n libsphinxclient-%{soname} Pure C searchd client API library @@ -104,7 +97,6 @@ Group: Development/Libraries/Other Requires: libsphinxclient-%{soname} = %{version}-%{release} - %description -n libsphinxclient-devel Provides necessary development files for sphinx api and shared libs for sphinx client. Pure C searchd client API library @@ -120,7 +112,7 @@ %patch2 -p1 %patch3 -p1 -find -type d -name CVS -print0 | xargs -r0 rm -rf +find -type d -name CVS -exec rm -Rf {} + %build %configure --sysconfdir=%{_sysconfdir}/%{name}/ --with-mysql --with-pgsql --enable-id64 @@ -132,16 +124,13 @@ popd %install -make VERBOSE=1 DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install VERBOSE=1 %{?_smp_mflags} pushd api/libsphinxclient - make VERBOSE=1 DESTDIR=%{buildroot} install %{?_smp_mflags} + %make_install VERBOSE=1 %{?_smp_mflags} popd -# clean-up .la archives -find %{buildroot} -name '*.la' -exec rm -vf {} ';' -# clean-up .a archives -find %{buildroot} -name '*.a' -exec rm -vf {} ';' +find %{buildroot} "(" -name "*.a" -o -name "*.la" ")" -print -delete # Create /var/log/sphinx mkdir -p %{buildroot}%{_localstatedir}/log/%{name} @@ -169,7 +158,6 @@ cp -v %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf{.dist,} - # Create /etc/logrotate.d/sphinx mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << EOF @@ -326,5 +314,4 @@ %{_includedir}/sphinxclient.h %{_libdir}/libsphinxclient.so - %changelog
