diff --git a/graphviz.spec b/graphviz.spec index 55267b4..f57b7d5 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -387,6 +387,7 @@ Static development package for %{name}. %build autoreconf -fi +sed -i -e "s,-php7,php$(rpm -q --qf '%{VERSION}' php-cli | cut -d'.' -f1),g" configure %configure \ --with-x \ %if %{without static}