summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/php.spec b/php.spec
index 8a58432..26eaf56 100644
--- a/php.spec
+++ b/php.spec
@@ -705,7 +705,12 @@ BuildRequires: t1lib-devel
BuildRequires: libvpx-devel
%endif
%if %{with_libgd}
-BuildRequires: gd-devel >= 2.1.0
+BuildRequires: gd-devel >= 2.1.1
+%if 0%{?fedora} <= 19 && 0%{?rhel} <= 7
+Requires: gd-last%{?_isa} >= 2.1.1
+%else
+Requires: gd%{?_isa} >= 2.1.1
+%endif
%endif
%description gd