From: Elan Ruusamäe Date: Thu, 14 May 2015 13:10:19 +0000 (+0300) Subject: add missing webserver restart X-Git-Tag: auto/th/php-pecl-solr-2.1.0-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp-pecl-solr.git;a=commitdiff_plain;h=7a2204f2db8f4874ede0a80be21d4fb51dfd4d4c add missing webserver restart --- 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