[packages/php-pecl-gearman] add restart hooks
glen
glen at pld-linux.org
Wed Jan 27 21:51:19 CET 2016
commit b13f402055f9c71f040e459b39c489866a25681f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jan 27 22:51:14 2016 +0200
add restart hooks
php-pecl-gearman.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/php-pecl-gearman.spec b/php-pecl-gearman.spec
index 6f202a6..680582d 100644
--- a/php-pecl-gearman.spec
+++ b/php-pecl-gearman.spec
@@ -73,6 +73,14 @@ EOF
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%php_webserver_restart
+
+%postun
+if [ "$1" = 0 ]; then
+ %php_webserver_restart
+fi
+
%files
%defattr(644,root,root,755)
%doc README CREDITS LICENSE ChangeLog
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-gearman.git/commitdiff/b13f402055f9c71f040e459b39c489866a25681f
More information about the pld-cvs-commit
mailing list