diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-16 08:47:09 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-16 08:47:09 +0200 |
commit | abd84698c6f7405a75a028150929119da385dc31 (patch) | |
tree | 495596c7a672186e74d6092765767f8d804535df | |
parent | 7ed248369023455deb340f1e519cc425386c6f85 (diff) |
use DESTDIR instead of INSTALL_ROOT
-rw-r--r-- | php-pecl-xpass.spec | 5 |
1 files 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 |