diff --git a/rpcbind.spec b/rpcbind.spec index 7574472..67376e8 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -1,6 +1,6 @@ Name: rpcbind Version: 0.2.3 -Release: 11.rc2%{?dist} +Release: 12.rc2%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: BSD @@ -104,8 +104,11 @@ fi /bin/systemctl try-restart rpcbind.service >/dev/null 2>&1 || : %triggerin -- rpcbind > 0.2.2-2.0 -/bin/systemctl enable rpcbind.socket >/dev/null 2>&1 || : -/bin/systemctl restart rpcbind.socket >/dev/null 2>&1 || : +if systemctl -q is-enabled rpcbind.socket +then + /bin/systemctl reenable rpcbind.socket >/dev/null 2>&1 || : + /bin/systemctl restart rpcbind.socket >/dev/null 2>&1 || : +fi %files %defattr(-,root,root) @@ -118,6 +121,9 @@ fi %{_unitdir}/rpcbind.socket %changelog +* Sat Nov 12 2016 Steve Dickson - 0.2.3-12.rc2 +- Stop enable rpcbind.socket with every update (bz 1393721) + * Mon Nov 7 2016 Steve Dickson - 0.2.3-11.rc2 - Updated to the latest RC release rpcbind-0_2_4-rc1