Hello community, here is the log from the commit of package hamlib for openSUSE:Factory checked in at 2020-04-27 23:34:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hamlib (Old) and /work/SRC/openSUSE:Factory/.hamlib.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hamlib" Mon Apr 27 23:34:00 2020 rev:4 rq:797594 version:3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/hamlib/hamlib.changes 2018-09-03 10:34:22.300556303 +0200 +++ /work/SRC/openSUSE:Factory/.hamlib.new.2738/hamlib.changes 2020-04-27 23:34:23.663056675 +0200 @@ -1,0 +2,6 @@ +Sat Apr 25 07:58:17 UTC 2020 - Martin Pluskal <[email protected]> + +- Do not build python2 bindings for Tumbleweed +- Modernise spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hamlib.spec ++++++ --- /var/tmp/diff_new_pack.9iDJ6T/_old 2020-04-27 23:34:24.627058557 +0200 +++ /var/tmp/diff_new_pack.9iDJ6T/_new 2020-04-27 23:34:24.631058564 +0200 @@ -1,7 +1,7 @@ # # spec file for package hamlib # -# Copyright (c) 2018 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 @@ -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/ # @@ -28,7 +28,6 @@ Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE hamlib-3.0-perl_install.patch -- patch from Fedora Patch0: hamlib-3.0-perl_install.patch -BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: makeinfo @@ -40,10 +39,13 @@ BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(lua) -BuildRequires: pkgconfig(python2) BuildRequires: pkgconfig(tcl) -Requires(post): info -Requires(preun): info +%if 0%{?suse_version} <= 1500 +BuildRequires: fdupes +BuildRequires: pkgconfig(python2) +Requires(post): %{install_info_prereq} +Requires(preun): %{install_info_prereq} +%endif %description The Ham Radio Control Libraries (Hamlib) provide a programming @@ -86,6 +88,7 @@ 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 @@ -93,6 +96,7 @@ %description -n python-Hamlib Hamlib provide a programming interface for controlling radios and other shack hardware. +%endif %package -n tcl-Hamlib Summary: Tcl bindings for Hamlib @@ -121,9 +125,11 @@ --with-perl-binding \ --with-tcl-binding \ --with-lua-binding \ + %if 0%{?suse_version} <= 1500 --with-python-binding \ + %endif --with-xml-support -make %{?_smp_mflags} V=1 +%make_build %install %make_install @@ -134,10 +140,12 @@ mkdir -p %{buildroot}%{_docdir} mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}%{_docdir} +%if 0%{?suse_version} <= 1500 %fdupes %{buildroot}%{python_sitearch} +%endif %check -make %{?_smp_mflags} check +%make_build check %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} @@ -192,9 +200,11 @@ %files -n lua-Hamliblua %{_libdir}/lua +%if 0%{?suse_version} <= 1500 %files -n python-Hamlib %{python_sitearch}/Hamlib.* %{python_sitearch}/_Hamlib.* +%endif %files -n tcl-Hamlib %dir %{_libdir}/tcl*/
