summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phpy.spec6
1 files changed, 3 insertions, 3 deletions
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