summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}