Hello community,
here is the log from the commit of package xapian-bindings for openSUSE:Factory
checked in at 2020-04-19 21:35:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xapian-bindings (Old)
and /work/SRC/openSUSE:Factory/.xapian-bindings.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xapian-bindings"
Sun Apr 19 21:35:49 2020 rev:32 rq:766613 version:1.4.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/xapian-bindings/xapian-bindings.changes
2019-06-13 23:06:27.595190315 +0200
+++
/work/SRC/openSUSE:Factory/.xapian-bindings.new.2738/xapian-bindings.changes
2020-04-19 21:35:52.542442906 +0200
@@ -1,0 +2,146 @@
+Wed Jan 15 10:00:03 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Update to 1.4.14:
+ * Python3:
+ + Remove broken replicationtest.py. It's never worked reliably, and
because
+ of that was disabled shortly after being added over a decade ago.
+ Unsurprisingly it's bit-rotted at least a bit since. Nobody seems
interested
+ in fixing it, so it's time to just get rid of it.
+- Remove the python2 bindings
+- Rebase patch:
+ * do-not-use-sphinx.diff
+
+- Update to 1.4.13:
+ * General:
+ + Omit SWIG exception handling for destructors. Since C++11, destructors
can't
+ throw by default and we don't override that default, so there's no point
+ adding exception handling code for them.
+ + Ensure doccomments.i is distributed. If you unpacked a distribution
tarball,
+ configured it and then ran "make dist" python/doccomments.i and
+ python3/doccomments.i would be missing unless you configured the tree
with
+ --enable-maintainer-mode.
+ * PHP:
+ + Check for php-config5.6 and php-config5.5 in configure as these versioned
+ names are used in some packages (such as those from the ondrej/php PPA).
+ * PHP7:
+ + Work around build failure on Illuminos. Fixes
+ https://trac.xapian.org/ticket/793, reported by Amitai Schleier.
+ * Ruby:
+ + smoketest.rb: Use #push not #append on Array to restore compatibility
with
+ Ruby < 2.5 (broken by changes in 1.4.12).
+ + Expand tabs in Ruby code since using spaces for indentation seems to be
+ preferred Ruby style.
+ + Remove trailing `;` from Ruby code.
+
+- Update to 1.4.12:
+ * Documentation:
+ + Update bindings HACKING document. Reported as out of date by Niwesh
Gupta.
+ * CSharp:
+ + Work around mono terminfo parsing bug - older cli-sn fails with e.g.
+ TERM=xterm-256color due to: https://github.com/mono/mono/issues/6752
+ Encountered on Kubuntu 18.10 and debugged by Tejasvi Tomar. Seems to be
+ fixed in the mono version in Debian buster.
+ * Perl:
+ + Suppress warnings from older Perl headers due to use of constructs which
look
+ like C++11 user-defined literals. They're fixed in newer versions so
they're
+ just noise in our build. We were working around these in the CI build,
so
+ drop that workaround as we want to make the build warning-clean for users
+ too. Reported by daniel93 on #xapian.
+ * Python3:
+ + Fix build for changes in Sphinx 2.0 (which drops support for
sphinx.main()).
+ Fixes #778, reported by karolyi. Also reported by Gaurav Arora.
+ + We now throw UnicodeEncodeError for bad Unicode string input. Previously
+ cases such as a lone surrogate would be handled by quietly skipping the
bad
+ codepoints when converting to UTF-8 to pass to Xapian.
+ + We no longer use the deprecated old-style Py_UNICODE API, which currently
+ gives deprecation warnings and is slated to be removed in Python 4.0.
+ * Ruby:
+ + Add support for block iteration. All the iterator methods in the Ruby
API
+ now accept an optional block. If no block is given an array is returned
so
+ existing code will still work. Partly based on a patch in
+ https://github.com/xapian/xapian/pull/232 from Cong Ding.
+ + Add missing wrappers for all the C++ methods returning iterators which
+ weren't wrapped for Ruby. Fixes #777, reported by do.
+ + Suppress warnings from Ruby 2.3 headers due to use of register and
+ constructs which look like C++11 user-defined literals. They're fixed in
+ newer versions so they're just noise in our build. We were working
around
+ these in the CI build, so drop that workaround as we want to make the
build
+ warning-clean for users too. Reported by daniel93 on #xapian.
+ + smoketest.rb: Don't leave temporary databases behind in /tmp.
+
+- Update to 1.4.11:
+ * CSharp:
+ + Make MatchAll and MatchNothing readonly.
+ * Java:
+ + Simplify load-time setup of Query.OP_OR, etc which are provided for
+ compatibility with the original hand-written JNI bindings.
+ * PHP:
+ + We now load the module for "make check" using -d extension=xapian which
+ avoids needing to turn off safe_mode and turn on enable_dl, and matches
how
+ the module is usually loaded in production use.
+ * PHP7:
+ + Fix access to already released memory during PHP module shutdown, which
often
+ didn't cause visible problems, but could result in segmentation faults,
bus
+ errors, etc.
+ + Fix generated code to compile when using a ZTS-enabled build of PHP.
+ + We now load the module for "make check" using -d extension=xapian which
+ avoids needing to turn off safe_mode and turn on enable_dl, and matches
how
+ the module is usually loaded in production use.
+
+- Update to 1.4.10:
+ * Documentation:
+ + Use https for URLs where supported.
+ * General:
+ + Wrap new DatabaseClosedError and DatabaseNotFoundError exceptions.
+ See #772 and #773. Patches from Vaibhav Kansagara.
+ + Update expected query descriptions in tests for the xapian-core
+ change to produce flatter Query trees.
+ + Workaround Perl 5.28 -i quirk when postprocessing SWIG-generated code.
+ The commands in question are only run when maintainer-mode is enabled.
+ * CSharp:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped without using a getter.
+ This shouldn't affect existing user code.
+ * Java:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped as Java constant
+ Xapian.BAD_VALUENO. The previous Java wrapping as function
+ Xapian.getBAD_VALUENO() is still supported for compatibility with
+ existing code.
+ + Remove redundant std::string initialisation.
+ * Lua:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped as a constant rather than
+ an immutable attribute. This shouldn't affect existing user code.
+ * Perl:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped as Perl constant
+ Xapian::BAD_VALUENO. The previous Perl wrapping as variable
+ $Xapian::BAD_VALUENO is still supported for compatibility with existing
+ code.
+ + Note in the POD documentation that the Error base classes which are
abstract
+ in C++ don't have a new method in Perl.
+ * PHP:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped as PHP constant
+ Xapian::BAD_VALUENO. The previous PHP wrapping as function
+ Xapian::BAD_VALUENO_get() is still supported for compatibility with
existing
+ code.
+ + Remove code to work around a SWIG bug which was fixed in 2006.
+ * PHP7:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped as PHP constant
+ Xapian::BAD_VALUENO. The previous PHP wrapping as function
+ Xapian::BAD_VALUENO_get() is still supported for compatibility with
existing
+ code.
+ + configure: Check for php-config7.3 and php-config7.2 as well as
+ php-config7.1, php-config7.0 and php-config.
+ + Correct references to PHP5 in PHP7 script comments.
+ + Remove some C code which is no longer needed with PHP7.
+ * Ruby:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped as Ruby constant
+ Xapian::BAD_VALUENO. The previous Ruby wrapping as function
+ Xapian::BAD_VALUENO() is still supported for compatibility with existing
+ code.
+ + We now recommend using String#encode instead of the Iconv class, since
the
+ latter is no longer included with Ruby.
+ * Tcl:
+ + C++ constant Xapian::BAD_VALUENO is now wrapped as a constant rather than
+ variable which can't be written to. This shouldn't affect existing user
+ code.
+
+-------------------------------------------------------------------
Old:
----
xapian-bindings-1.4.9.tar.xz
xapian-bindings-1.4.9.tar.xz.asc
New:
----
xapian-bindings-1.4.14.tar.xz
xapian-bindings-1.4.14.tar.xz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xapian-bindings.spec ++++++
--- /var/tmp/diff_new_pack.2D7mqV/_old 2020-04-19 21:35:53.150444160 +0200
+++ /var/tmp/diff_new_pack.2D7mqV/_new 2020-04-19 21:35:53.150444160 +0200
@@ -1,7 +1,7 @@
#
# spec file for package xapian-bindings
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,14 +31,14 @@
%endif
Name: xapian-bindings
-Version: 1.4.9
+Version: 1.4.14
Release: 0
Summary: Bindings for xapian
License: GPL-2.0-only
Group: Development/Languages/Other
-Url: http://www.xapian.org/
-Source0:
http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
-Source1:
http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz.asc
+URL: https://www.xapian.org/
+Source0:
https://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
+Source1:
https://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
Patch0: do-not-use-sphinx.diff
Patch1: fix-php7-directory.patch
@@ -56,10 +56,7 @@
BuildRequires: %{phpver}-devel
%endif
BuildRequires: pkg-config
-BuildRequires: python-devel >= 2.6
-BuildRequires: python-setuptools
%if %{with sphinx}
-BuildRequires: python-sphinx
BuildRequires: python3-Sphinx
%endif
BuildRequires: python3-devel
@@ -74,18 +71,6 @@
adaptable toolkit that allows developers to add advanced indexing and
search facilities to applications.
-%package -n python-xapian
-Summary: Files needed for developing Python scripts which use Xapian
-Group: Development/Libraries/Python
-Provides: python2-xapian = %{version}
-
-%description -n python-xapian
-Xapian is a probabilistic information retrieval library. It offers an
-adaptable toolkit that allows developers to add advanced indexing and
-search facilities to applications.
-This package provides the files needed for developing Python 2 scripts
-which use Xapian.
-
%package -n python3-xapian
Summary: Files needed for developing Python scripts which use Xapian
Group: Development/Libraries/Python
@@ -161,7 +146,6 @@
autoreconf -vfi
%configure \
- --with-python \
--with-python3 \
%if %{with php}
--with-%{phppkg} \
@@ -182,18 +166,6 @@
%install
make install DESTDIR=%{?buildroot} %{?_smp_mflags}
-%files -n python-xapian
-%defattr(-,root,root)
-%doc AUTHORS ChangeLog HACKING NEWS README TODO
-%if 0%{suse_version} < 1500 && !0%{?is_opensuse}
-%doc COPYING
-%else
-%license COPYING
-%endif
-%dir %{_defaultdocdir}/%{name}
-%doc %{_defaultdocdir}/%{name}/python/
-%{python_sitearch}/xapian/
-
%files -n python3-xapian
%defattr(-,root,root)
%doc AUTHORS ChangeLog HACKING NEWS README TODO
++++++ do-not-use-sphinx.diff ++++++
--- /var/tmp/diff_new_pack.2D7mqV/_old 2020-04-19 21:35:53.170444201 +0200
+++ /var/tmp/diff_new_pack.2D7mqV/_new 2020-04-19 21:35:53.170444201 +0200
@@ -28,14 +28,14 @@
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 sphinx
module" >&5
-$as_echo_n "checking for python3 sphinx module... " >&6; }
-- if $PYTHON3 -c 'import sphinx;print(repr(sphinx.main))' >&5 2>&5 ; then
+- if $PYTHON3 -c 'import sphinx' >&5 2>&5 ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- if test yes = "$with_python3" ; then
-- as_fn_error $? "Couldn't import sphinx module and call sphinx.main()
for Python3 - try package python3-sphinx" "$LINENO" 5
+- as_fn_error $? "Couldn't import sphinx module for Python3 - try package
python3-sphinx" "$LINENO" 5
- fi
- PYTHON3=
- fi
@@ -68,12 +68,12 @@
fi
fi
- AC_MSG_CHECKING([for python3 sphinx module])
-- if $PYTHON3 -c 'import sphinx;print(repr(sphinx.main))' >&5 2>&5 ; then
+- if $PYTHON3 -c 'import sphinx' >&5 2>&5 ; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- if test yes = "$with_python3" ; then
-- AC_MSG_ERROR([Couldn't import sphinx module and call sphinx.main() for
Python3 - try package python3-sphinx])
+- AC_MSG_ERROR([Couldn't import sphinx module for Python3 - try package
python3-sphinx])
- fi
- PYTHON3=
- fi
@@ -109,4 +109,4 @@
+ cp -R -p `test -r docs/index.rst || echo '$(srcdir)/'`docs
'$(DESTDIR)$(docdir)/python3'
$(sphinxdocs): xapian/__init__.py xapian/_xapian$(PYTHON3_SO) docs/conf.py
$(RST_DOCS) $(dist_exampledata_DATA)
- ## We need to run Sphinx for the right version of Python here, so we can't
+ PYTHONPATH=..:$$PYTHONPATH $(OSX_SIP_HACK_ENV) $(PYTHON3) \
++++++ xapian-bindings-1.4.9.tar.xz -> xapian-bindings-1.4.14.tar.xz ++++++
++++ 41954 lines of diff (skipped)