template-specs: php-pecl.spec - examplesdir sample
glen
glen at pld-linux.org
Wed Dec 2 11:32:31 CET 2009
Author: glen Date: Wed Dec 2 10:32:31 2009 GMT
Module: template-specs Tag: HEAD
---- Log message:
- examplesdir sample
---- Files affected:
template-specs:
php-pecl.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: template-specs/php-pecl.spec
diff -u template-specs/php-pecl.spec:1.31 template-specs/php-pecl.spec:1.32
--- template-specs/php-pecl.spec:1.31 Wed Sep 9 11:07:45 2009
+++ template-specs/php-pecl.spec Wed Dec 2 11:32:26 2009
@@ -34,7 +34,8 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
+install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
+install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir},%{_examplesdir}/%{name}-%{version}}
%{__make} install \
INSTALL_ROOT=$RPM_BUILD_ROOT \
@@ -44,6 +45,8 @@
extension=%{modname}.so
EOF
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -60,6 +63,7 @@
%doc CREDITS EXPERIMENTAL
%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
%attr(755,root,root) %{php_extensiondir}/%{modname}.so
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -67,6 +71,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2009/12/02 10:32:26 glen
+- examplesdir sample
+
Revision 1.31 2009/09/09 09:07:45 glen
- BR macros for fpm restart
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/php-pecl.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list