hack php version

This commit is contained in:
Mikhail Novosyolov 2020-05-16 01:40:16 +03:00
parent 0ec03eaeb2
commit 5f00a834bf

View file

@ -387,6 +387,7 @@ Static development package for %{name}.
%build %build
autoreconf -fi autoreconf -fi
sed -i -e "s,-php7,php$(rpm -q --qf '%{VERSION}' php-cli | cut -d'.' -f1),g" configure
%configure \ %configure \
--with-x \ --with-x \
%if %{without static} %if %{without static}