From d3c2df9c790f5f274f716704cb004e4c0cfceee2 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 1 Feb 2012 23:15:43 -0500 Subject: [PATCH] enable webp plugin for fc17 builds --- graphviz.spec.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/graphviz.spec.in b/graphviz.spec.in index 9cf9d832a..8accbebb8 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -137,8 +137,6 @@ BuildRequires: librsvg2-devel BuildRequires: gd gd-devel %define DEVIL 1 BuildRequires: DevIL-devel -#define WEBP 1 -# BuildRequires: libwebp-devel %define SFDP 1 BuildRequires: gts-devel %define LASI 1 @@ -158,6 +156,10 @@ BuildRequires: ghostscript-devel %define R_LANG 1 BuildRequires: R-devel swig >= 1.3.33 perl-libs %endif +%if %fedora >= 17 +%define WEBP 1 +BuildRequires: libwebp-devel +%endif %endif %global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1) -- 2.40.0