From 29cafe0685494a09cfd61cb24076897f4bca99cd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 22 Jun 2023 10:27:20 +0200 Subject: add EPEL-9 needed macros --- php-pecl-rnp.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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}} -- cgit