Accepting request 1243137 from devel:libraries:c_c++

- enable tests
- oqs-provider-disable-test.patch: removed

OBS-URL: https://build.opensuse.org/request/show/1243137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oqs-provider?expand=0&rev=7
This commit is contained in:
2025-02-04 17:12:39 +00:00
committed by Git OBS Bridge
3 changed files with 10 additions and 20 deletions

View File

@@ -1,17 +0,0 @@
Index: oqs-provider-0.7.0/CMakeLists.txt
===================================================================
--- oqs-provider-0.7.0.orig/CMakeLists.txt
+++ oqs-provider-0.7.0/CMakeLists.txt
@@ -81,9 +81,9 @@ endfunction()
add_subdirectory(oqsprov)
# Testing
-include(CTest)
-enable_testing()
-add_subdirectory(test)
+#include(CTest)
+#enable_testing()
+#add_subdirectory(test)
# Examples
add_subdirectory(examples)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 30 15:47:50 UTC 2025 - Marcus Meissner <meissner@suse.com>
- enable tests
- oqs-provider-disable-test.patch: removed
-------------------------------------------------------------------
Thu Dec 12 15:15:59 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package oqs-provider
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,8 +24,6 @@ License: MIT
Group: Productivity/Security
URL: https://github.com/open-quantum-safe/oqs-provider/
Source: https://github.com/open-quantum-safe/oqs-provider/archive/refs/tags/%{version}.tar.gz#/%name-%version.tar.gz
# currently would need libtestutil.a from openssl-3, so basically a copy of openssl-3 to test.
Patch1: oqs-provider-disable-test.patch
BuildRequires: cmake
BuildRequires: libopenssl-3-devel
BuildRequires: pkgconfig(liboqs)
@@ -48,6 +46,9 @@ cd build
cmake -DBUILD_SHARED_LIBS=ON ..
%cmake_build
%check
%ctest .
%install
install -d %buildroot/%{_libdir}/ossl-modules/