Fix build against Python 3.9 (#1791942)
This commit is contained in:
parent
e6090f6dab
commit
d9fbf6195b
26
libproxy-0.4.15-python39.patch
Normal file
26
libproxy-0.4.15-python39.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 869307ba7547cadef4a131581c3afdcaaec8c576 Mon Sep 17 00:00:00 2001
|
||||
From: David King <amigadave@amigadave.com>
|
||||
Date: Thu, 13 Feb 2020 12:24:17 +0000
|
||||
Subject: [PATCH] python: support Python 3.9
|
||||
|
||||
Add 3.9 to the list of accepted Python 3 versions.
|
||||
---
|
||||
cmake/FindPython3Interp.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/FindPython3Interp.cmake b/cmake/FindPython3Interp.cmake
|
||||
index 8e5e409..74398b2 100644
|
||||
--- a/cmake/FindPython3Interp.cmake
|
||||
+++ b/cmake/FindPython3Interp.cmake
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
unset(_Python3_NAMES)
|
||||
|
||||
-set(_Python3_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
|
||||
+set(_Python3_VERSIONS 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)
|
||||
--
|
||||
2.24.1
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name: libproxy
|
||||
Version: 0.4.15
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
Summary: A library handling all the details of proxy configuration
|
||||
|
||||
License: LGPLv2+
|
||||
@ -21,6 +21,8 @@ Patch2: libproxy-0.4.15-python3738.patch
|
||||
Patch3: libproxy-0.4.15-mozjs52.patch
|
||||
# https://github.com/libproxy/libproxy/pull/95
|
||||
Patch4: libproxy-0.4.15-mozjs60.patch
|
||||
# https://github.com/libproxy/libproxy/pull/106
|
||||
Patch5: libproxy-0.4.15-python39.patch
|
||||
|
||||
BuildRequires: cmake >= 2.6.0
|
||||
BuildRequires: gcc-c++
|
||||
@ -224,6 +226,9 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 13 2020 David King <amigadave@amigadave.com> - 0.4.15-18
|
||||
- Fix build against Python 3.9 (#1791942)
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.15-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user