From 0801c4c7007cd5978acb3e7582154ec049a775fe Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:27:20 +0100 Subject: [PATCH] rebuilt with python3 == 3.11 [release 0.4.18-2mamba;Wed Oct 04 2023] --- libproxy.spec | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/libproxy.spec b/libproxy.spec index 3b933c3..d0d5c10 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -1,12 +1,12 @@ Name: libproxy Version: 0.4.18 -Release: 1mamba +Release: 2mamba Summary: A library that provides automatic proxy configuration management. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://libproxy.github.io/libproxy/ +URL: https://libproxy.github.io/libproxy/ Source: https://github.com/libproxy/libproxy.git/%{version}/libproxy-%{version}.tar.bz2 Patch0: libproxy-0.4.7-gcc-4.7.patch Patch1: libproxy-0.4.7-xulrunner.patch @@ -16,24 +16,23 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libdbus-devel +BuildRequires: libduktape-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libnm-devel BuildRequires: libperl -BuildRequires: libpython3-devel -BuildRequires: libpython310-devel +BuildRequires: libpython311-devel BuildRequires: libstdc++6-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END -#%if "%{stage1}" != "1" -#BuildRequires: xulrunner-devel -#%endif +BuildRequires: libpython3-devel >= 3.11 BuildRequires: glproto-devel BuildRequires: libnm-devel Provides: %{name}-mozjs Obsoletes: %{name}-mozjs < 0.4.18 Provides: %{name}-webkit Obsoletes: %{name}-webkit < 0.4.18 +Obsoletes: python-libproxy-py310 < 0.4.18-2mamba %description libproxy is a library that provides automatic proxy configuration management. @@ -47,13 +46,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} A simple application that will use libproxy to give the results you can expect from other applications. It can be used to debug what would happen in various cases. -%package -n python-libproxy-py310 -Summary: Python 3.10 bindings for %{name} -Group: System/Libraries/Python - -%description -n python-libproxy-py310 -%{summary}. - %package -n python-libproxy-py3 Summary: Python 3 binding for %{name} Group: System/Libraries/Python @@ -61,13 +53,6 @@ Group: System/Libraries/Python %description -n python-libproxy-py3 %{summary}. -%package -n python-libproxy-py36 -Summary: Python 3.6 binding for %{name} -Group: System/Libraries/Python - -%description -n python-libproxy-py36 -%{summary}. - %package -n perl-Net-Libproxy Summary: Perl binding for %{name} Group: System/Libraries/Perl @@ -202,16 +187,6 @@ mv %{buildroot}%{_prefix}/lib/python3* %{buildroot}%{_libdir} %defattr(-,root,root) %{python3_sitearch}/libproxy.py -#%ifnarch aarch64 -#%files -n python-libproxy-py36 -#%defattr(-,root,root) -#%{python36_sitearch}/libproxy.py -#%endif - -%files -n python-libproxy-py310 -%defattr(-,root,root) -%{python310_sitearch}/libproxy.py - %files -n perl-Net-Libproxy %defattr(-,root,root) %{perl_vendorarch}/Net/Libproxy.pm @@ -254,6 +229,9 @@ mv %{buildroot}%{_prefix}/lib/python3* %{buildroot}%{_libdir} %changelog +* Wed Oct 04 2023 Silvan Calarco 0.4.18-2mamba +- rebuilt with python3 == 3.11 + * Sun Jul 31 2022 Silvan Calarco 0.4.18-1mamba - update to 0.4.18