Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pocketsphinx5 for openSUSE:Factory checked in at 2022-10-25 13:11:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pocketsphinx5 (Old) and /work/SRC/openSUSE:Factory/.pocketsphinx5.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pocketsphinx5" Tue Oct 25 13:11:57 2022 rev:2 rq:1031117 version:5~git20200227.e40da77 Changes: -------- --- /work/SRC/openSUSE:Factory/pocketsphinx5/pocketsphinx5.changes 2020-03-31 17:14:04.223582832 +0200 +++ /work/SRC/openSUSE:Factory/.pocketsphinx5.new.2275/pocketsphinx5.changes 2022-10-25 13:11:57.656020746 +0200 @@ -1,0 +2,6 @@ +Mon Oct 24 11:10:21 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org> + +- Add python-distutils-deprecated.patch: ignore distutils + deprecation warning. + +------------------------------------------------------------------- New: ---- python-distutils-deprecated.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pocketsphinx5.spec ++++++ --- /var/tmp/diff_new_pack.0vd5vQ/_old 2022-10-25 13:11:58.672022317 +0200 +++ /var/tmp/diff_new_pack.0vd5vQ/_new 2022-10-25 13:11:58.680022330 +0200 @@ -1,7 +1,7 @@ # -# spec file for package pocketsphinx +# spec file for package pocketsphinx5 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ Summary: Speech recognizer library written in C License: BSD-2-Clause Group: Productivity/Office/Other -Url: http://cmusphinx.sourceforge.net/wiki/download/ +URL: http://cmusphinx.sourceforge.net/wiki/download/ Source: pocketsphinx-%{version}.tar.xz # PATCH-FIX-UPSTREAM pocketsphinx-doxygen.patch -- Obtained from fedora package (http://pkgs.fedoraproject.org/cgit/rpms/pocketsphinx.git/tree/) Patch0: pocketsphinx-doxygen.patch @@ -32,6 +32,8 @@ Patch1: use-python3.patch # PATCH-FIX-OPENSUSE fix-reproducible-builds.patch -- Do not use __DATE__ or __TIME__ Patch2: fix-reproducible-builds.patch +# PATCH-FIX-OPENSUSE python-distutils-deprecated.patch -- ignore distutils deprecation warning +Patch3: python-distutils-deprecated.patch BuildRequires: alsa-devel BuildRequires: autoconf BuildRequires: automake @@ -42,12 +44,12 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python3 -BuildRequires: python3-devel BuildRequires: python3-Cython +BuildRequires: python3-devel BuildRequires: sphinxbase5-devel BuildRequires: swig Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %description Pocketsphinx is a version of the open-source CMU Sphinx II speech @@ -108,6 +110,7 @@ %patch0 %patch1 -p1 %patch2 -p1 +%patch3 -p1 sed -ie "1s,^#!/usr/bin/env python$,#!/usr/bin/python3," doc/doxy2swig.py %build @@ -140,7 +143,6 @@ --slave %{_mandir}/man1/pocketsphinx_continuous.1%{ext_man} pocketsphinx_continuous.1%{ext_man} %{_mandir}/man1/pocketsphinx_continuous-%{versuffix}.1%{ext_man} \ --slave %{_mandir}/man1/pocketsphinx_mdef_convert.1%{ext_man} pocketsphinx_mdef_convert.1%{ext_man} %{_mandir}/man1/pocketsphinx_mdef_convert-%{versuffix}.1%{ext_man} - %postun if [ ! -f %{_bindir}/pocketsphinx_batch ]; then update-alternatives --remove pocketsphinx_batch %{_bindir}/pocketsphinx_batch-%{versuffix} @@ -178,7 +180,6 @@ %files -n python3-pocketsphinx5 %{python3_sitearch}/pocketsphinx - %files -n gstreamer-plugin-pocketsphinx %{_libdir}/gstreamer-1.0/libgstpocketsphinx.so ++++++ python-distutils-deprecated.patch ++++++ Index: pocketsphinx-5~git20200227.e40da77/m4/ax_python_devel.m4 =================================================================== --- pocketsphinx-5~git20200227.e40da77.orig/m4/ax_python_devel.m4 +++ pocketsphinx-5~git20200227.e40da77/m4/ax_python_devel.m4 @@ -136,7 +136,7 @@ variable to configure. See ``configure - # Check if you have distutils, else fail # AC_MSG_CHECKING([for the distutils Python package]) - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` + ac_distutils_result=`$PYTHON -c "import warnings; warnings.simplefilter('ignore'); import distutils" 2>&1` if test -z "$ac_distutils_result"; then AC_MSG_RESULT([yes]) else