[packages/php/PHP_5_4] fix missing buildroot
glen
glen at pld-linux.org
Fri Aug 24 11:07:34 CEST 2012
commit 37a424483e4838f71f324301dde405f1a24feadc
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Aug 24 12:06:59 2012 +0300
fix missing buildroot
php.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 658a60a..84479b4 100644
--- a/php.spec
+++ b/php.spec
@@ -2449,7 +2449,7 @@ cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
%endif
# ensure that paths are correct for current php version and arch
-grep -El '/etc/php/|/usr/lib/php/' %{_sysconfdir}/*.ini | xargs -r \
+grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
%{__sed} -i -e '
s#/usr/lib/php#%{php_extensiondir}#
s#/etc/php#%{_sysconfdir}#
More information about the pld-cvs-commit
mailing list