diff --git a/rpcbind.spec b/rpcbind.spec index 80ad4c3..25ab435 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -90,7 +90,7 @@ if ! getent passwd rpc >/dev/null ; then fi %post -/bin/systemctl enable rpcbind.socket >/dev/null 2>&1 || : +%systemd_post rpcbind.service rpcbind.socket %preun %systemd_preun rpcbind.service rpcbind.socket @@ -121,6 +121,7 @@ fi %changelog * Mon Aug 1 2016 Steve Dickson - 0.2.3-11.rc1 - Removing the braces from the ${RPCBIND_ARGS} in rpcbind.service (bz 1362201) +- Stop enable rpcbind.socket with every update (bz 1324666) * Mon Apr 4 2016 Steve Dickson - 0.2.3-10.rc1 - Restart rpcbind.socket on restarts (bz 1306824)