From 3794152a6e20440f7260f2b09bb95d44af5bb082 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 17 Mar 2025 02:17:35 +0000 Subject: automatic import of phpy --- phpy.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpy.spec') diff --git a/phpy.spec b/phpy.spec index 1d55457..24dcff8 100644 --- a/phpy.spec +++ b/phpy.spec @@ -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 -- cgit v1.2.3