Accepting request 977505 from home:dimstar:Factory

- Add libproxy-python-310.patch: Detect python 3.10.

OBS-URL: https://build.opensuse.org/request/show/977505
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=158
This commit is contained in:
Dominique Leuenberger 2022-05-16 12:59:13 +00:00 committed by Git OBS Bridge
parent f5cce8eb7e
commit cbb61ca33d
3 changed files with 20 additions and 0 deletions

13
libproxy-python-310.patch Normal file
View File

@ -0,0 +1,13 @@
Index: libproxy-0.4.17/cmake/FindPython3Interp.cmake
===================================================================
--- libproxy-0.4.17.orig/cmake/FindPython3Interp.cmake
+++ libproxy-0.4.17/cmake/FindPython3Interp.cmake
@@ -39,7 +39,7 @@
unset(_Python3_NAMES)
-set(_Python3_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_Python3_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(Python3Interp_FIND_VERSION)
if(Python3Interp_FIND_VERSION_COUNT GREATER 1)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 16 10:27:55 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Add libproxy-python-310.patch: Detect python 3.10.
-------------------------------------------------------------------
Thu Feb 10 00:11:21 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -47,6 +47,8 @@ Group: Development/Libraries/C and C++
URL: http://libproxy.github.io/libproxy/
Source: https://github.com/libproxy/libproxy/releases/download/%{version}/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FIX-OPENSUSE libproxy-python-310.patch dimstar@opensuse.org -- Detect python 3.10. upstream has more sophisticated changes already in the queue
Patch0: libproxy-python-310.patch
BuildRequires: cmake
BuildRequires: gcc-c++
# netcfg is needed for the test suite.