From: Jakub Bogusz Date: Tue, 28 Feb 2023 20:43:33 +0000 (+0100) Subject: - disable tests (require working valgrind) X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=524452f3220415d10225e3c646e08f16c3b8002d;p=packages%2Fcone.git - disable tests (require working valgrind) --- diff --git a/cone.spec b/cone.spec index 2f7105f..0b921d5 100644 --- a/cone.spec +++ b/cone.spec @@ -1,6 +1,6 @@ # # Conditional build: -%bcond_without tests # "make check" +%bcond_with tests # "make check" (requires operational valgrind, i.e. with glibc-debuginfo) %bcond_with gnutls # GnuTLS instead of OpenSSL %bcond_with socks # (Courier) Socks support @@ -39,6 +39,7 @@ BuildRequires: perl-base BuildRequires: pkgconfig BuildRequires: procps BuildRequires: sysconftool +%{?with_tests:BuildRequires: valgrind} BuildRequires: zlib-devel Requires: ca-certificates Suggests: gnupg