[packages/yubico-piv-tool] don't build tests if they are disabled
atler
atler at pld-linux.org
Tue Nov 29 17:56:52 CET 2022
commit 66436d641f4c845c8848eb118833710a3efd62e1
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Nov 29 17:42:38 2022 +0100
don't build tests if they are disabled
yubico-piv-tool.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/yubico-piv-tool.spec b/yubico-piv-tool.spec
index d974a89..1d86920 100644
--- a/yubico-piv-tool.spec
+++ b/yubico-piv-tool.spec
@@ -98,7 +98,8 @@ pakiet zawiera biblioteki statyczne.
mkdir -p build
cd build
%{cmake} ../ \
- -DBACKEND="pcsc"
+ -DBACKEND="pcsc" \
+ %{!?with_tests:-DSKIP_TESTS:BOOL=ON}
%{__make}
%if %{with tests}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/yubico-piv-tool.git/commitdiff/3b9f586b7c521aab981e3383a825a55b0b741779
More information about the pld-cvs-commit
mailing list