[packages/python-pycryptodome] Build fixes
arekm
arekm at pld-linux.org
Mon Aug 10 22:03:32 CEST 2026
commit 5cd1843e582c07003be19b7744cea3448917448f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Aug 10 22:03:12 2026 +0200
Build fixes
python-pycryptodome.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec
index 9078c1b..52e07ed 100644
--- a/python-pycryptodome.spec
+++ b/python-pycryptodome.spec
@@ -15,6 +15,8 @@ License: BSD, Public Domain
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/p/pycryptodome/%{module}-%{version}.tar.gz
# Source0-md5: ced642c05c66d98d90bafcf558f4415e
+Patch0: x32.patch
+Patch1: pycryptodome-disable-gmp.patch
URL: https://www.pycryptodome.org/
%if %{with python2}
BuildRequires: python-devel >= 1:2.7
@@ -169,6 +171,11 @@ Dokumentacja API modułu Pythona %{module}.
%prep
%setup -q -n %{module}-%{version}
+%patch -P0 -p1
+%ifarch x32
+# GMP seems to have some functions broken on x32
+%patch -P1 -p1
+%endif
%build
%if %{with python2}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pycryptodome.git/commitdiff/5cd1843e582c07003be19b7744cea3448917448f
More information about the pld-cvs-commit
mailing list