diff options
Diffstat (limited to 'vips.spec')
-rw-r--r-- | vips.spec | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -54,6 +54,8 @@ %bcond_without im7 %bcond_with gm +%bcond_with tests + %if 0%{?fedora} >= 33 || 0%{?rhel} >= 9 %bcond_without jxl %else @@ -83,8 +85,6 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: gettext -# bc command used in test suite -BuildRequires: bc BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(fftw3) @@ -128,6 +128,10 @@ BuildRequires: libimagequant-devel %if %{with libcgif} BuildRequires: pkgconfig(cgif) %endif +%if %{with tests} +# bc command used in test suite +BuildRequires: bc +%endif # Not available as system library # and altered by vips upstream @@ -386,7 +390,7 @@ mv cplusplus/html cplusplus_html %find_lang vips%{vips_version_base} -%if %{with im7} +%if %{with tests} %check make check %endif @@ -462,6 +466,7 @@ make check %changelog * Mon Jun 20 2022 Remi Collet <remi@remirepo.net> - 8.13.0~rc1-2 - fix EL-7 build using upstream fix + but see https://github.com/libvips/libvips/issues/2878#issuecomment-1160380569 * Mon Jun 20 2022 Remi Collet <remi@remirepo.net> - 8.13.0~rc1-1 - update to 8.13.0rc1 |