[packages/p11-kit] - tests rely on asserts
qboosh
qboosh at pld-linux.org
Tue Nov 17 19:51:49 CET 2026
commit 04b65f21df4cb29442061a64057d66df83c04869
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 17 19:51:45 2026 +0100
- tests rely on asserts
p11-kit.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/p11-kit.spec b/p11-kit.spec
index d9b7ac6..43f0a25 100644
--- a/p11-kit.spec
+++ b/p11-kit.spec
@@ -39,6 +39,11 @@ Requires: systemd-units >= 1:250.1
Suggests: ca-certificates
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%if %{with tests}
+# tests rely on asserts (in tests code only, but there are no separate CPPFLAGS)
+%define filterout_cpp -DNDEBUG
+%endif
+
%description
P11-KIT provides a way to load and enumerate PKCS#11 modules. It also
provides a standard configuration setup for installing PKCS#11 modules
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/p11-kit.git/commitdiff/04b65f21df4cb29442061a64057d66df83c04869
More information about the pld-cvs-commit
mailing list