SPECS: template-php-pecl.spec, template-php4-pecl.spec - use make ...

glen glen at pld-linux.org
Sun Dec 25 21:59:22 CET 2005


Author: glen                         Date: Sun Dec 25 20:59:22 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use make to install extension

---- Files affected:
SPECS:
   template-php-pecl.spec (1.19 -> 1.20) , template-php4-pecl.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/template-php-pecl.spec
diff -u SPECS/template-php-pecl.spec:1.19 SPECS/template-php-pecl.spec:1.20
--- SPECS/template-php-pecl.spec:1.19	Mon Oct 31 10:07:45 2005
+++ SPECS/template-php-pecl.spec	Sun Dec 25 21:59:17 2005
@@ -38,9 +38,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/conf.d,%{extensionsdir}}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
 
-install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
+%{__make} install \
+	-C %{_modname}-%{version} \
+	INSTALL_ROOT=$RPM_BUILD_ROOT \
+	EXTENSION_DIR=%{extensionsdir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
 ; Enable %{_modname} extension module
 extension=%{_modname}.so
@@ -71,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2005/12/25 20:59:17  glen
+- use make to install extension
+
 Revision 1.19  2005/10/31 09:07:45  glen
 - up macros requirement
 

================================================================
Index: SPECS/template-php4-pecl.spec
diff -u SPECS/template-php4-pecl.spec:1.10 SPECS/template-php4-pecl.spec:1.11
--- SPECS/template-php4-pecl.spec:1.10	Mon Oct 31 10:07:45 2005
+++ SPECS/template-php4-pecl.spec	Sun Dec 25 21:59:17 2005
@@ -38,9 +38,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/conf.d,%{extensionsdir}}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
 
-install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
+%{__make} install \
+	-C %{_modname}-%{version} \
+	INSTALL_ROOT=$RPM_BUILD_ROOT \
+	EXTENSION_DIR=%{extensionsdir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
 ; Enable %{_modname} extension module
 extension=%{_modname}.so
@@ -71,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/12/25 20:59:17  glen
+- use make to install extension
+
 Revision 1.10  2005/10/31 09:07:45  glen
 - up macros requirement
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/template-php-pecl.spec?r1=1.19&r2=1.20&f=u
    http://cvs.pld-linux.org/SPECS/template-php4-pecl.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list