From 3dbc31196bef132d8e8bd40d2f0bc8672cedf403 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 28 Jan 2023 18:52:09 +0100 Subject: [PATCH] Run test suite. --- libxcrypt.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libxcrypt.spec b/libxcrypt.spec index 8b4b921..b578ca2 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -1,6 +1,7 @@ # # Conditional build: %bcond_without default_crypt # build as default libcrypt provider +%bcond_without tests Summary: Crypt Library for DES, MD5, and Blowfish Summary(pl.UTF-8): Biblioteka szyfrująca hasła obsługująca DES, MD5 i Blowfish @@ -97,6 +98,10 @@ Ten pakiet zawiera statyczną wersję biblioteki libxcrypt. --disable-werror %{__make} +%if %{with tests} +%{__make} check +%endif + %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{_lib} -- 2.44.0