diff --git a/nghttp2.spec b/nghttp2.spec index 2d42a42..4d4d276 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -76,9 +76,13 @@ rm -f "$RPM_BUILD_ROOT%{_libdir}/libnghttp2.la" rm -f "$RPM_BUILD_ROOT%{_datadir}/doc/nghttp2/README.rst" %post -n libnghttp2 -p /sbin/ldconfig -%systemd_post nghttpx.service %postun -n libnghttp2 -p /sbin/ldconfig + +%post +%systemd_post nghttpx.service + +%postun %systemd_postun nghttpx.service