Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hamlib for openSUSE:Factory checked in at 2022-02-07 23:38:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hamlib (Old) and /work/SRC/openSUSE:Factory/.hamlib.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hamlib" Mon Feb 7 23:38:04 2022 rev:11 rq:952037 version:4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/hamlib/hamlib.changes 2021-12-09 19:45:56.913143054 +0100 +++ /work/SRC/openSUSE:Factory/.hamlib.new.1898/hamlib.changes 2022-02-07 23:39:10.405999815 +0100 @@ -1,0 +2,8 @@ +Mon Feb 7 07:24:30 UTC 2022 - Martin Pluskal <mplus...@suse.com> + +- Be less strict with required interpreters for tcl and perl + subpackages (bsc#1195260) +- Drop python2 subpackage as its not relevant to any supported + openSUSE release + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hamlib.spec ++++++ --- /var/tmp/diff_new_pack.DYbicS/_old 2022-02-07 23:39:10.865996668 +0100 +++ /var/tmp/diff_new_pack.DYbicS/_new 2022-02-07 23:39:10.869996640 +0100 @@ -1,7 +1,7 @@ # # spec file for package hamlib # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -33,18 +33,15 @@ BuildRequires: makeinfo BuildRequires: perl BuildRequires: pkgconfig +BuildRequires: python-rpm-macros BuildRequires: readline-devel BuildRequires: swig BuildRequires: pkgconfig(gdlib) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(lua) -BuildRequires: pkgconfig(tcl) -%if 0%{?suse_version} <= 1500 -BuildRequires: pkgconfig(python2) -%else BuildRequires: pkgconfig(python3) -%endif +BuildRequires: pkgconfig(tcl) Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} @@ -89,15 +86,6 @@ Hamlib provide a programming interface for controlling radios and other shack hardware. -%if 0%{?suse_version} <= 1500 -%package -n python-Hamlib -Summary: Python bindings for Hamlib -Group: Development/Libraries/Python - -%description -n python-Hamlib -Hamlib provide a programming interface for controlling radios and -other shack hardware. -%else %package -n python3-Hamlib Summary: Python 3 bindings for Hamlib Group: Development/Libraries/Python @@ -105,12 +93,11 @@ %description -n python3-Hamlib Hamlib provide a programming interface for controlling radios and other shack hardware. -%endif %package -n tcl-Hamlib Summary: Tcl bindings for Hamlib Group: Development/Languages/Tcl -%requires_eq tcl +%requires_ge tcl %description -n tcl-Hamlib Hamlib provide a programming interface for controlling radios and @@ -119,15 +106,14 @@ %package -n perl-Hamlib Summary: Perl bindings for Hamlib Group: Development/Languages/Perl -%requires_eq perl-base +%requires_ge perl-base %description -n perl-Hamlib Hamlib provide a programming interface for controlling radios and other shack hardware. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build autoreconf -fiv @@ -135,11 +121,7 @@ --with-perl-binding \ --with-tcl-binding \ --with-lua-binding \ -%if 0%{?suse_version} <= 1500 - --with-python-binding \ -%else - --with-python-binding PYTHON_VERSION='3.8' \ -%endif + --with-python-binding PYTHON_VERSION=%py3_ver \ --with-xml-support %make_build @@ -218,16 +200,10 @@ %files -n lua-Hamliblua %{_libdir}/lua -%if 0%{?suse_version} <= 1500 -%files -n python-Hamlib -%{python_sitearch}/Hamlib.* -%{python_sitearch}/_Hamlib.* -%else %files -n python3-Hamlib %{python3_sitearch}/Hamlib.* %{python3_sitearch}/_Hamlib.* %{python3_sitearch}/__pycache__/Hamlib.cpython*.pyc -%endif %files -n tcl-Hamlib %dir %{_libdir}/tcl*/