[packages/php-pecl-solr] add missing webserver restart
glen
glen at pld-linux.org
Thu May 14 15:10:42 CEST 2015
commit 7a2204f2db8f4874ede0a80be21d4fb51dfd4d4c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu May 14 16:10:19 2015 +0300
add missing webserver restart
php-pecl-solr.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/php-pecl-solr.spec b/php-pecl-solr.spec
index 8fb4a6d..e45dc23 100644
--- a/php-pecl-solr.spec
+++ b/php-pecl-solr.spec
@@ -117,6 +117,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 ChangeLog CREDITS README.SUBMITTING_CONTRIBUTIONS README.MEMORY_ALLOCATION
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-solr.git/commitdiff/7a2204f2db8f4874ede0a80be21d4fb51dfd4d4c
More information about the pld-cvs-commit
mailing list