diff options
-rw-r--r-- | phpy.spec | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,7 +44,7 @@ This extension allows PHP to directly use Python modules and functions without RPC. Including Pytorch, transformer, numpy, tensorflow and other Python AI libraries, which can be used like calling PHP functions. -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;'). %prep @@ -92,7 +92,7 @@ cd ../NTS %configure \ --enable-phpy \ --with-libdir=%{_lib} \ - --with-php-config=%{__phpconfig} + --with-php-config=%{_bindir}/php-config %make_build @@ -101,7 +101,7 @@ cd ../ZTS %configure \ --enable-phpy \ --with-libdir=%{_lib} \ - --with-php-config=%{__ztsphpconfig} + --with-php-config=%{_bindir}/zts-php-config %make_build %endif |