From 0564db82232053b627af9fee625cd2d71ce8b191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 16 Aug 2021 17:11:09 +0200 Subject: [PATCH] Compile test-programs during %%build stage --- libxcrypt.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libxcrypt.spec b/libxcrypt.spec index 20bbc3a..056823b 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -153,7 +153,7 @@ fi \ Name: libxcrypt Version: 4.4.25 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others # For explicit license breakdown, see the @@ -350,6 +350,7 @@ pushd %{_vpath_builddir} --enable-obsolete-api-enosys=%{enosys_stubs} %endif %make_build +%make_build test-programs popd %if %{with compat_pkg} @@ -363,6 +364,7 @@ pushd %{_vpath_builddir}-compat --enable-obsolete-api=%{compat_api} \ --enable-obsolete-api-enosys=%{enosys_stubs} %make_build +%make_build test-programs popd %endif @@ -401,6 +403,7 @@ pushd %{_vpath_builddir}-all_possible_tests %endif %define _lto_cflags %{system_lto_cflags_bak} %make_build +%make_build test-programs popd @@ -525,6 +528,9 @@ done %changelog +* Mon Aug 16 2021 Björn Esser - 4.4.25-2 +- Compile test-programs during %%build stage + * Sun Aug 08 2021 Björn Esser - 4.4.25-1 - New upstream release