summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-17 02:17:35 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-17 02:17:35 +0000
commit3794152a6e20440f7260f2b09bb95d44af5bb082 (patch)
tree5dd68f9df19ceebd6c2ec17e648d9d0ff398cf86
parent9511d97c52fce973c42867281026456c62e22841 (diff)
automatic import of phpyopeneuler24.03_LTS
-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