summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-06-22 10:27:20 +0200
committerRemi Collet <remi@php.net>2023-06-22 10:27:20 +0200
commit29cafe0685494a09cfd61cb24076897f4bca99cd (patch)
treee58114b245e24fd6928bcce9ed348f9661de6d2b
parent20cedbc162eba057ca36539e79b596653170f4de (diff)
add EPEL-9 needed macros
-rw-r--r--php-pecl-rnp.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-pecl-rnp.spec b/php-pecl-rnp.spec
index 28ced5d..2518698 100644
--- a/php-pecl-rnp.spec
+++ b/php-pecl-rnp.spec
@@ -23,6 +23,12 @@
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
+# For EPEL-9
+%{!?__phpize: %global __phpize %{_bindir}/phpize}
+%{!?__ztsphpize: %global __ztsphpize %{_bindir}/zts-phpize}
+%{!?__phpconfig: %global __phpconfig %{_bindir}/php-config}
+%{!?__ztsphpconfig:%global __ztsphpconfig %{_bindir}/zts-php-config}
+
Summary: wrapper around the RNP library
Name: php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}