[packages/libxcrypt] Run test suite.

arekm arekm at pld-linux.org
Sat Jan 28 18:52:29 CET 2023


commit 3dbc31196bef132d8e8bd40d2f0bc8672cedf403
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jan 28 18:52:09 2023 +0100

    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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxcrypt.git/commitdiff/3dbc31196bef132d8e8bd40d2f0bc8672cedf403



More information about the pld-cvs-commit mailing list