Compile test-programs during %%build stage

This commit is contained in:
Björn Esser 2021-08-16 17:11:09 +02:00
parent db6a27de7f
commit 0564db8223
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -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 <besser82@fedoraproject.org> - 4.4.25-2
- Compile test-programs during %%build stage
* Sun Aug 08 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.25-1
- New upstream release