summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-03-18 10:05:30 +0100
committerRemi Collet <remi@remirepo.net>2019-03-18 10:05:30 +0100
commit4e99ab821d0f9517936816d1e59e777bcfcf1c71 (patch)
tree8d3e192ad3216b8d1447f98ebbc179e220452644
parent5708ed66c6541fef3adfa4cd4d468bc44a38d385 (diff)
use libwebp7 only on EL-7
-rw-r--r--gd.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/gd.spec b/gd.spec
index 63735e7..66bf99d 100644
--- a/gd.spec
+++ b/gd.spec
@@ -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