From 12ee8797cb573389e67dcf85ad2d2fb5401b7fe871751ac7d33ed6319fba484e Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 6 Feb 2024 09:08:11 +0000 Subject: [PATCH] - Temporarily disable Python build because of incompatibility with Python 3.11 Reported upstream, will be fixed in next version. OBS-URL: https://build.opensuse.org/package/show/network:utilities/scamper?expand=0&rev=62 --- scamper.changes | 6 ++++++ scamper.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/scamper.changes b/scamper.changes index b0b312b..8c97f03 100644 --- a/scamper.changes +++ b/scamper.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 6 09:07:29 UTC 2024 - Sebastian Wagner + +- Temporarily disable Python build because of incompatibility with Python 3.11 + Reported upstream, will be fixed in next version. + ------------------------------------------------------------------- Mon Feb 5 12:59:00 UTC 2024 - Sebastian Wagner diff --git a/scamper.spec b/scamper.spec index 076ba73..2372d47 100644 --- a/scamper.spec +++ b/scamper.spec @@ -120,7 +120,9 @@ libscamperctrl library. %build export PYTHON=%{_bindir}/python3 -%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime --with-python +# disable Python build in 20240122 because of incompatibility with Python 3.11. Reported upstream, will be fixed in next version +%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime +#%%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime --with-python make %{?_smp_mflags} %install @@ -138,7 +140,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_bindir}/scamper %{_mandir}/man1/* %{_mandir}/man5/* -%{python3_sitelib}/scamper.so +#%%{python3_sitelib}/scamper.so %files -n libscamperfile8 %{_libdir}/libscamperfile.so.*