[packages/python3-curl-cffi] - rel 4, fix another stupid arch check
baggins
baggins at pld-linux.org
Sun Jun 7 14:11:19 CEST 2026
commit cd9f08d43355946fb1f872d392d890b98d82ad2a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jun 7 14:10:52 2026 +0200
- rel 4, fix another stupid arch check
python3-curl-cffi.spec | 4 +++-
x32.patch | 19 +++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/python3-curl-cffi.spec b/python3-curl-cffi.spec
index c4ea7f8..e5db335 100644
--- a/python3-curl-cffi.spec
+++ b/python3-curl-cffi.spec
@@ -8,13 +8,14 @@ Summary: Python binding for curl-impersonate via cffi
Summary(pl.UTF-8): Wiązanie Pythona do curl-impersonate przez cffi
Name: python3-curl-cffi
Version: 0.15.0
-Release: 3
+Release: 4
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/curl-cffi/
Source0: https://files.pythonhosted.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
# Source0-md5: 108ff8b07bacb0c292471f31025b4c7b
Patch0: curl-cffi-system-libcurl.patch
+Patch1: x32.patch
URL: https://github.com/lexiforest/curl_cffi
BuildRequires: curl-impersonate-devel
BuildRequires: python3-build
@@ -48,6 +49,7 @@ użytku synchronicznego oraz asynchronicznego.
%prep
%setup -q -n %{module}-%{version}
%patch -P0 -p1
+%patch -P1 -p1
%build
export CURL_IMPERSONATE_LIBDIR="%{_libdir}"
diff --git a/x32.patch b/x32.patch
new file mode 100644
index 0000000..7bb8564
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,19 @@
+--- curl_cffi-0.15.0/libs.json~ 2026-04-03 12:21:13.000000000 +0200
++++ curl_cffi-0.15.0/libs.json 2026-06-07 14:07:06.562190396 +0200
+@@ -60,6 +60,16 @@
+ {
+ "system": "Linux",
+ "machine": "x86_64",
++ "pointer_size": 32,
++ "sysname": "linux",
++ "link_type": "static",
++ "libc": "gnu",
++ "obj_name": "libcurl-impersonate.a",
++ "arch": "x86_64"
++ },
++ {
++ "system": "Linux",
++ "machine": "x86_64",
+ "pointer_size": 64,
+ "sysname": "linux",
+ "link_type": "static",
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-curl-cffi.git/commitdiff/cd9f08d43355946fb1f872d392d890b98d82ad2a
More information about the pld-cvs-commit
mailing list