diff options
author | Remi Collet <remi@remirepo.net> | 2019-03-18 10:05:30 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-03-18 10:05:30 +0100 |
commit | 4e99ab821d0f9517936816d1e59e777bcfcf1c71 (patch) | |
tree | 8d3e192ad3216b8d1447f98ebbc179e220452644 | |
parent | 5708ed66c6541fef3adfa4cd4d468bc44a38d385 (diff) |
use libwebp7 only on EL-7
-rw-r--r-- | gd.spec | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -56,8 +56,11 @@ BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel %if %{with_webp} -# Ensure we use libwebp5 on EL -BuildRequires: libwebp-devel > 1 +%if 0%{?rhel} == 7 +BuildRequires: libwebp7-devel +%else +BuildRequires: libwebp-devel +%endif %endif %if %{with_liq} BuildRequires: libimagequant-devel @@ -235,7 +238,7 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc %changelog * Mon Mar 18 2019 Remi Collet <remi@fedoraproject.org> - 2.2.5-8 -- rebuild using libwebp7 +- rebuild using libwebp7 on EL-7 * Fri Sep 07 2018 mskalick@redhat.com - 2.2.5-7 - Add missing requires to libimagequent-devel |