- 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
This commit is contained in:
Sebastian Wagner 2024-02-06 09:08:11 +00:00 committed by Git OBS Bridge
parent 27e30edc2b
commit 12ee8797cb
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 6 09:07:29 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- 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 <sebix@sebix.at> Mon Feb 5 12:59:00 UTC 2024 - Sebastian Wagner <sebix@sebix.at>

View File

@ -120,7 +120,9 @@ libscamperctrl library.
%build %build
export PYTHON=%{_bindir}/python3 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} make %{?_smp_mflags}
%install %install
@ -138,7 +140,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_bindir}/scamper %{_bindir}/scamper
%{_mandir}/man1/* %{_mandir}/man1/*
%{_mandir}/man5/* %{_mandir}/man5/*
%{python3_sitelib}/scamper.so #%%{python3_sitelib}/scamper.so
%files -n libscamperfile8 %files -n libscamperfile8
%{_libdir}/libscamperfile.so.* %{_libdir}/libscamperfile.so.*