Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package speech-dispatcher for openSUSE:Factory checked in at 2023-07-01 23:17:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/speech-dispatcher (Old) and /work/SRC/openSUSE:Factory/.speech-dispatcher.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "speech-dispatcher" Sat Jul 1 23:17:57 2023 rev:43 rq:1096178 version:0.11.4 Changes: -------- --- /work/SRC/openSUSE:Factory/speech-dispatcher/speech-dispatcher.changes 2022-12-15 19:24:22.275771622 +0100 +++ /work/SRC/openSUSE:Factory/.speech-dispatcher.new.13546/speech-dispatcher.changes 2023-07-01 23:18:04.542269099 +0200 @@ -1,0 +2,6 @@ +Wed Jun 28 14:19:26 UTC 2023 - ecsos <[email protected]> + +- Use always python3.11 to build, so Leap use also python3.11 to + build. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ speech-dispatcher.spec ++++++ --- /var/tmp/diff_new_pack.vw50rQ/_old 2023-07-01 23:18:05.274273486 +0200 +++ /var/tmp/diff_new_pack.vw50rQ/_new 2023-07-01 23:18:05.278273511 +0200 @@ -1,7 +1,7 @@ # # spec file for package speech-dispatcher # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,6 +23,11 @@ %define espeak espeak %define espeakdev espeak-devel %endif +%if 0%{?suse_version} > 1500 +%define _python python3 +%else +%define _python python311 +%endif Name: speech-dispatcher Version: 0.11.4 Release: 0 @@ -38,6 +43,7 @@ # Logrotate file taken from Debian Source2: speech-dispatcher.logrotate Source99: baselibs.conf +BuildRequires: %{_python}-setuptools BuildRequires: %{espeakdev} BuildRequires: alsa-devel BuildRequires: dotconf-devel @@ -49,10 +55,9 @@ BuildRequires: libsndfile-devel BuildRequires: libtool BuildRequires: makeinfo -BuildRequires: python3-setuptools BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(systemd) -Requires: python3-speechd +Requires: %{_python}-speechd # FIXME: use proper Requires(pre/post/preun/...) PreReq: %{install_info_prereq} Suggests: festival @@ -79,8 +84,8 @@ Summary: Configuration tool for Speech Dispatcher License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Daemons +Requires: %{_python}-pyxdg Requires: %{name} = %{version} -Requires: python3-pyxdg Enhances: %{name} %description configure @@ -150,13 +155,15 @@ devices directly nor to handle concurrent access, sound output and other tricky aspects of the speech subsystem. -%package -n python3-speechd +%package -n %{_python}-speechd Summary: Device independent layer for speech synthesis - Python Bindings License: LGPL-2.1-or-later Group: Development/Libraries/Python Requires: %{name} >= %{version} +Provides: python3-speechd = %{version} +Obsoletes: python3-speechd < %{version} -%description -n python3-speechd +%description -n %{_python}-speechd The goal of Speech Dispatcher project is to provide a high-level device independent layer for speech synthesis through a simple, stable and well documented interface. @@ -177,6 +184,9 @@ %build %global optflags %{optflags} -fcommon +%if 0%{?suse_version} <= 1500 +export PYTHON=/usr/bin/python3.11 +%endif %configure --disable-static \ --with-libao \ --with-alsa \ @@ -212,10 +222,14 @@ test -d %{buildroot}%{_infodir}/dir && rm %{buildroot}%{_infodir}/dir %find_lang %{name} # rpmlint -sed -i -e 's|/usr/bin/env python3|/usr/bin/python3|g' %{buildroot}%{_bindir}/spd-conf +sed -i -e 's|/usr/bin/env python3|/usr/bin/%{_python}|g' %{buildroot}%{_bindir}/spd-conf # Deduplicate python bytecode +%if 0%{?suse_version} > 1500 %fdupes %{buildroot}%{python3_sitearch}/speechd* +%else +%fdupes %{buildroot}%{python311_sitearch}/speechd* +%endif %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz @@ -290,7 +304,11 @@ %files configure %{_bindir}/spd-conf +%if 0%{?suse_version} > 1500 %{python3_sitearch}/speechd_config/ +%else +%{python311_sitearch}/speechd_config/ +%endif %{_datadir}/speech-dispatcher/ %files module-espeak @@ -306,7 +324,11 @@ %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc -%files -n python3-speechd +%files -n %{_python}-speechd +%if 0%{?suse_version} > 1500 %{python3_sitearch}/speechd/ +%else +%{python311_sitearch}/speechd/ +%endif %changelog
