1
0
forked from rpms/rpcbind

Stop enable rpcbind.socket with every update (bz 1393721)

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2016-11-12 12:35:35 -05:00
parent 4ba89e4e0a
commit bbf9314062

View File

@ -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 <steved@redhat.com> - 0.2.3-12.rc2
- Stop enable rpcbind.socket with every update (bz 1393721)
* Mon Nov 7 2016 Steve Dickson <steved@redhat.com> - 0.2.3-11.rc2
- Updated to the latest RC release rpcbind-0_2_4-rc1