Run %check by default

This commit is contained in:
Nikola Forró 2021-02-11 17:39:09 +01:00
parent 415e5c5ef5
commit db8f3f4c70

View File

@ -1,8 +1,10 @@
%bcond_without check
Summary: A library of functions for manipulating PNG image format files
Name: libpng
Epoch: 2
Version: 1.6.37
Release: 8%{?dist}
Release: 9%{?dist}
License: zlib
URL: http://www.libpng.org/pub/png/
@ -81,9 +83,8 @@ autoreconf -vif
# We don't ship .la files.
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%if 0%{?with_check}
%check
#to run make check use "--with check"
%if %{?_with_check:1}%{!?_with_check:0}
make check
%endif
@ -110,6 +111,9 @@ make check
%{_bindir}/pngfix
%changelog
* Thu Feb 11 2021 Nikola Forró <nforro@redhat.com> - 2:1.6.37-9
- Run %check by default
* Fri Feb 05 2021 Nikola Forró <nforro@redhat.com> - 2:1.6.37-8
- Use proper pngtest.png reference image on aarch64