From 7a2204f2db8f4874ede0a80be21d4fb51dfd4d4c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 14 May 2015 16:10:19 +0300 Subject: [PATCH] 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 -- 2.43.0