diff options
| author | Remi Collet <remi@remirepo.net> | 2021-03-17 11:43:16 +0100 | 
|---|---|---|
| committer | Remi Collet <remi@remirepo.net> | 2021-03-17 11:43:16 +0100 | 
| commit | c4eb4636c2f19cc5c15c972528bc6df7168ab79f (patch) | |
| tree | a980ddb21efc566fa7ee67e8f23eff926db659c7 | |
| parent | 7f5322115f7e575839b59d7b414a7afde021b83c (diff) | |
improve condition usage
| -rw-r--r-- | gd.spec | 17 | 
1 files changed, 17 insertions, 0 deletions
@@ -200,6 +200,21 @@ export CFLAGS="$CFLAGS -ffp-contract=off"  %configure \      --with-tiff=%{_prefix} \ +%if %{with raqm} +    --with-raqm \ +%else +    --without-raqm \ +%endif +%if %{with liq} +    --with-liq \ +%else +    --without-liq \ +%endif +%if %{with webp} +    --with-webp \ +%else +    --without-webp \ +%endif  %if %{with avif}      --with-avif \  %else @@ -222,7 +237,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libgd.a  %check  # minor diff in size +%if %{with raqm}  XFAIL_TESTS="gdimagestringft/gdimagestringft_bbox" +%endif  %if 0%{?fedora} <= 28 && 0%{?rhel} <= 7  %ifarch %{ix86}  # See https://github.com/libgd/libgd/issues/359  | 
