From abd84698c6f7405a75a028150929119da385dc31 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Sep 2024 08:47:09 +0200 Subject: use DESTDIR instead of INSTALL_ROOT --- php-pecl-xpass.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-pecl-xpass.spec b/php-pecl-xpass.spec index 7a063d3..1d5f07b 100644 --- a/php-pecl-xpass.spec +++ b/php-pecl-xpass.spec @@ -87,6 +87,7 @@ EOF cd %{sources} %{__phpize} +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global cd ../NTS %configure \ @@ -108,7 +109,7 @@ cd ../ZTS %install %{?dtsenable} -%make_install -C NTS INSTALL_ROOT=%{buildroot} +%make_install -C NTS # install config file install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -117,7 +118,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %if %{with_zts} -%make_install -C ZTS INSTALL_ROOT=%{buildroot} +%make_install -C ZTS install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif -- cgit