summaryrefslogtreecommitdiffstats
path: root/php-pecl-xpass.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-16 08:47:51 +0200
committerRemi Collet <remi@php.net>2024-09-16 08:47:51 +0200
commitb800fa55b1d66f8290a0767eb7b46868d632e2cc (patch)
treec144cc54afc1cf8ab1491e4cdcbc31ca04f230c6 /php-pecl-xpass.spec
parent24ff59a3ee1723b7db57b04ba778adbf57e882b4 (diff)
use DESTDIR instead of INSTALL_ROOT
Diffstat (limited to 'php-pecl-xpass.spec')
-rw-r--r--php-pecl-xpass.spec3
1 files changed, 2 insertions, 1 deletions
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}