Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ip2unix for openSUSE:Factory checked 
in at 2026-03-04 21:10:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ip2unix (Old)
 and      /work/SRC/openSUSE:Factory/.ip2unix.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ip2unix"

Wed Mar  4 21:10:09 2026 rev:7 rq:1336347 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ip2unix/ip2unix.changes  2024-04-15 
20:23:57.652775843 +0200
+++ /work/SRC/openSUSE:Factory/.ip2unix.new.561/ip2unix.changes 2026-03-04 
21:10:46.622231443 +0100
@@ -1,0 +2,7 @@
+Tue Mar  3 07:46:57 UTC 2026 - [email protected]
+
+- Fix build on Factory/TW: add python3-pytest-timeout
+- Fix build on Leap < 16: add BuildRequires: gcc13
+- Fix tests: exclude 'ip2unix:integration' (gh#nixcloud/ip2unix#37)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ip2unix.spec ++++++
--- /var/tmp/diff_new_pack.6ulhKT/_old  2026-03-04 21:10:47.250257204 +0100
+++ /var/tmp/diff_new_pack.6ulhKT/_new  2026-03-04 21:10:47.254257369 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ip2unix
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,17 +21,25 @@
 Release:        0
 Summary:        Turn IP sockets into Unix domain sockets
 License:        LGPL-3.0-only
-URL:            https://github.com/nixcloud/ip2unix/
-Source0:        
https://github.com/nixcloud/ip2unix/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+URL:            https://github.com/nixcloud/ip2unix
+Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 Patch0:         
https://patch-diff.githubusercontent.com/raw/nixcloud/ip2unix/pull/35.patch#/ip2unix-2.2.1-fix_out_of_range_string_view_access.patch
 BuildRequires:  asciidoc
-BuildRequires:  gcc-c++
 BuildRequires:  meson >= 0.47.0
 BuildRequires:  python3
 BuildRequires:  python3-pytest
+BuildRequires:  python3-pytest-timeout
 BuildRequires:  pkgconfig(yaml-cpp) >= 0.5.0
 # systemd-socket-activate is used in tests
 BuildRequires:  pkgconfig(systemd)
+# gcc >= 8 provides std::filesystem
+%if 0%{?suse_version} < 1600
+BuildRequires:  gcc13
+BuildRequires:  gcc13-PIE
+BuildRequires:  gcc13-c++
+%else
+BuildRequires:  gcc-c++
+%endif
 
 %description
 Executes a program and converts IP to Unix domain sockets at runtime based on a
@@ -47,6 +55,10 @@
 %build
 # Building with LTO enabled causes crashes. 
https://github.com/nixcloud/ip2unix/issues/33
 %define _lto_cflags %{nil}
+%if 0%{?suse_version} < 1600
+export CC="gcc-13"
+export CXX="g++-13"
+%endif
 %meson
 %meson_build
 
@@ -54,7 +66,11 @@
 %meson_install
 
 %check
-%meson_test
+# exclude test 'ip2unix:integration' (timeout)
+test_list=$(%meson_test --list) 2> /dev/null
+test_list=${test_list//ip2unix:integration}
+test_list=${test_list//integration}
+%meson_test $test_list
 
 %files
 %{_bindir}/%{name}

Reply via email to