diff options
author | Remi Collet <remi@remirepo.net> | 2022-06-20 15:05:17 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-06-20 15:05:17 +0200 |
commit | 029ee2ab7d10df92d1bc043c7887220bfbfb3616 (patch) | |
tree | 6ebdf89683e72d59251ab6b483c164b0a607e448 | |
parent | 28fca96593becfd3fa58d8b0cb6c5e707bf40c44 (diff) |
cleanups
-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 |