commit 0dde76354028ca82d2b7bdb1190872dcaf72a84c
Author: Jakub Bogusz <[email protected]>
Date:   Sun May 19 18:25:26 2024 +0200

    - fixed tests on x32

 python3-cbor2.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/python3-cbor2.spec b/python3-cbor2.spec
index 564e63c..6625f4a 100644
--- a/python3-cbor2.spec
+++ b/python3-cbor2.spec
@@ -25,6 +25,7 @@ BuildRequires:        python3-pytest-cov
 BuildRequires: rpm-build >= 4.6
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: sed >= 4.0
 %if %{with doc}
 BuildRequires: python3-packaging
 BuildRequires: python3-sphinx_autodoc_typehints >= 1.2.0
@@ -62,6 +63,11 @@ Dokumentacja API moduĊ‚u Pythona cbor2.
 %prep
 %setup -q -n cbor2-%{version}
 
+%ifarch x32
+# different exception raised
+%{__sed} -i -e 's/\(cause_exc_class =\) OverflowError/\1 ValueError/' 
tests/test_decoder.py
+%endif
+
 %build
 %py3_build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-cbor2.git/commitdiff/0dde76354028ca82d2b7bdb1190872dcaf72a84c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to