]> git.pld-linux.org Git - packages/php.git/blobdiff - php.spec
- changed all BuildRoot definitons
[packages/php.git] / php.spec
index d8b54febd98a760ad8da4f0fafd1c5b5162c4b29..239b85a929ed73ece8707b7dadcb03a960b95441 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -24,7 +24,7 @@ BuildRequires:        postgresql-devel
 BuildRequires: gd-devel
 Requires:      apache(EAPI) >= 1.3.9
 Prereq:                /usr/sbin/apxs
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %{_libdir}/apache
 
@@ -188,13 +188,11 @@ CFLAGS="$RPM_OPT_FLAGS -DEAPI"; export CFLAGS
 
 make
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir}/php,%{_sysconfdir}/httpd} \
                $RPM_BUILD_ROOT/home/httpd/html/{icons,docs,docs/php4-doc}
 
-
 install .libs/*.so     $RPM_BUILD_ROOT%{_pkglibdir}
 install modules/*.so   $RPM_BUILD_ROOT%{_pkglibdir}/php
 
@@ -220,7 +218,6 @@ if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
 fi
 
-
 %preun
 if [ "$1" = "0" ]; then
        /usr/sbin/apxs -e -A -n php4 %{_pkglibdir}/libphp4.so 1>&2
This page took 0.027103 seconds and 4 git commands to generate.