commit b13f402055f9c71f040e459b39c489866a25681f
Author: Elan Ruusamäe <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit