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