From b800fa55b1d66f8290a0767eb7b46868d632e2cc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Sep 2024 08:47:51 +0200 Subject: use DESTDIR instead of INSTALL_ROOT --- php-pecl-xpass.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php-pecl-xpass.spec b/php-pecl-xpass.spec index 74848ad..aa99a49 100644 --- a/php-pecl-xpass.spec +++ b/php-pecl-xpass.spec @@ -80,6 +80,7 @@ EOF %build cd %{sources} %{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global %configure \ --enable-xpass \ @@ -90,7 +91,7 @@ cd %{sources} %install -%make_install -C %{sources} INSTALL_ROOT=%{buildroot} +%make_install -C %{sources} # install config file install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} -- cgit