Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package liboqs for openSUSE:Factory checked 
in at 2026-07-28 18:05:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liboqs (Old)
 and      /work/SRC/openSUSE:Factory/.liboqs.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liboqs"

Tue Jul 28 18:05:50 2026 rev:23 rq:1368070 version:0.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/liboqs/liboqs.changes    2026-07-23 
23:15:46.119713691 +0200
+++ /work/SRC/openSUSE:Factory/.liboqs.new.2004/liboqs.changes  2026-07-28 
18:06:52.559365271 +0200
@@ -1,0 +2,8 @@
+Mon Jul 27 09:40:38 UTC 2026 - Marcus Meissner <[email protected]>
+
+- liboqs-python311.patch: use python3.11 for tests on SLES 15, the
+  python 3.6 there is too old.
+- disable KEM_HQC and SIG_MQOM and KEM_NTRUPRIME on s390x for now,
+  testsuite fails.
+
+-------------------------------------------------------------------

New:
----
  liboqs-python311.patch

----------(New B)----------
  New:
- liboqs-python311.patch: use python3.11 for tests on SLES 15, the
  python 3.6 there is too old.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ liboqs.spec ++++++
--- /var/tmp/diff_new_pack.Rvk8sR/_old  2026-07-28 18:06:53.675404510 +0200
+++ /var/tmp/diff_new_pack.Rvk8sR/_new  2026-07-28 18:06:53.679404650 +0200
@@ -30,6 +30,8 @@
 Patch1:         liboqs-fix-prototypemismatch.patch
 #PATCH-FIX-OPENSUSE boo#1101107 Do not embed the buildhost's kernel version
 Patch2:         reproducible.patch
+# only for SLE15, as python3.6 is too old to run tests
+Patch3:         liboqs-python311.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 %if 0%{?suse_version} > 0  && 0%{?suse_version} < 1600
@@ -37,10 +39,18 @@
 %endif
 BuildRequires:  libopenssl-devel
 # for tests
-BuildRequires:  python3-requests
+%if 0%{?suse_version} > 0  && 0%{?suse_version} < 1600
+BuildRequires:  python311
+BuildRequires:  python311-PyYAML
+BuildRequires:  python311-pytest
+BuildRequires:  python311-pytest-xdist
+BuildRequires:  python311-requests
+%else
 BuildRequires:  python3-PyYAML
 BuildRequires:  python3-pytest
 BuildRequires:  python3-pytest-xdist
+BuildRequires:  python3-requests
+%endif
 
 %description
 liboqs is a C library for quantum-resistant cryptographic algorithms.
@@ -64,7 +74,13 @@
 See the bundled README.md for particular limitations on intended use.
 
 %prep
-%autosetup -p1
+%setup -q
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
+%if 0%{?suse_version} > 0  && 0%{?suse_version} < 1600
+%patch -P 3 -p1
+%endif
 
 %build
 export RPM_OPT_FLAGS="%{optflags} -std=gnu11"
@@ -75,7 +91,13 @@
 
 # 20220702: The %%cmake macro can't be used because a 'CMakeLists.txt' folder
 # exists
-cmake -S . -B build -DBUILD_SHARED_LIBS:BOOL=ON -DOQS_DIST_BUILD:BOOL=ON 
-DOQS_ENABLE_KEM_HQC=ON
+# s390x has issues with SIG_MQOM and KEM_HQC, likely not endian safe... 
disable for now
+cmake -S . -B build -DBUILD_SHARED_LIBS:BOOL=ON -DOQS_DIST_BUILD:BOOL=ON 
-DOQS_ENABLE_KEM_HQC=ON \
+%ifarch s390x
+-DOQS_ENABLE_SIG_MQOM:BOOL=OFF \
+-DOQS_ENABLE_KEM_HQC:BOOL=OFF \
+-DOQS_ENABLE_KEM_NTRUPRIME:BOOL=OFF
+%endif
 
 pushd build
 %cmake_build

++++++ liboqs-python311.patch ++++++
Index: liboqs-0.16.0/tests/CMakeLists.txt
===================================================================
--- liboqs-0.16.0.orig/tests/CMakeLists.txt
+++ liboqs-0.16.0/tests/CMakeLists.txt
@@ -59,7 +59,7 @@ if(NOT WIN32)
 
     set(UNIX_TESTS test_aes test_hash test_sha3 speed_common)
 
-    set(PYTHON3_EXEC python3)
+    set(PYTHON3_EXEC python3.11)
 else()
     set(PYTHON3_EXEC python)
 endif()

Reply via email to