From a3498f4ffe2a72d13af6929df862813f0da668e5 Mon Sep 17 00:00:00 2001 From: Sebastian Zagrodzki Date: Sat, 1 Apr 2000 11:15:34 +0000 Subject: [PATCH] - changed all BuildRoot definitons - removed all applnkdir defs - changed some prereqs/requires - removed duplicate empty lines Changed files: php.spec -> 1.18 --- php.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/php.spec b/php.spec index d8b54fe..239b85a 100644 --- 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 -- 2.44.0