SPECS: template-php-pecl.spec - fixed define call and creation of ...

adamg adamg at pld-linux.org
Mon Sep 5 15:42:32 CEST 2005


Author: adamg                        Date: Mon Sep  5 13:42:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed define call and creation of conf.d directory

---- Files affected:
SPECS:
   template-php-pecl.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/template-php-pecl.spec
diff -u SPECS/template-php-pecl.spec:1.13 SPECS/template-php-pecl.spec:1.14
--- SPECS/template-php-pecl.spec:1.13	Fri Aug 26 22:17:55 2005
+++ SPECS/template-php-pecl.spec	Mon Sep  5 15:42:27 2005
@@ -2,7 +2,7 @@
 %define		_modname	-
 %define		_status		-
 %define		_sysconfdir	/etc/php
-%define		extensionsdir	$(php-config --extension-dir 2>/dev/null)
+%define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
 
 Summary:	%{_modname} -
 Summary(pl):	%{_modname} -
@@ -40,7 +40,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{extensionsdir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/conf.d,%{extensionsdir}}
 
 install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
@@ -73,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/09/05 13:42:27  adamg
+- fixed define call and creation of conf.d directory
+
 Revision 1.13  2005/08/26 20:17:55  glen
 - this is for php5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/template-php-pecl.spec?r1=1.13&r2=1.14&f=u




More information about the pld-cvs-commit mailing list