diff --git a/rpcbind.spec b/rpcbind.spec index 58577ff..dd562ad 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -1,6 +1,6 @@ Name: rpcbind Version: 0.2.3 -Release: 0.0%{?dist} +Release: 0.1%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: BSD @@ -89,11 +89,7 @@ if [ -z "$rpcid" -o "$rpcid" != "32" ]; then fi %post -if [ $1 -eq 1 ] ; then - # Initial installation - /bin/systemctl enable rpcbind.socket -fi -%systemd_post rpcbind.service rpcbind.socket +/bin/systemctl enable rpcbind.socket >/dev/null 2>&1 || : %preun %systemd_preun rpcbind.service rpcbind.socket @@ -125,6 +121,9 @@ fi %{_unitdir}/rpcbind.socket %changelog +* Wed Jun 10 2015 Steve Dickson - 0.2.3-0.0 +- Make sure rpcbind.socket always gets enabled (bz 1214496) + * Tue Apr 28 2015 Steve Dickson - 0.2.3-0.0 - Updated to latest upstream release: 0.2.3 - Change RPCBDIR to be /tmp since that will exist after a