commit 66436d641f4c845c8848eb118833710a3efd62e1
Author: Jan Palus <[email protected]>
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

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

Reply via email to