diff --git a/rpcbind.spec b/rpcbind.spec index d9041e2..1888fe0 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -4,9 +4,8 @@ Name: rpcbind Version: 1.2.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Universal Addresses to RPC Program Number Mapper -Group: System Environment/Daemons License: BSD URL: http://nfsv4.bullopensource.org @@ -18,7 +17,7 @@ Conflicts: man-pages < 2.43-12 BuildRequires: automake, autoconf, libtool, systemd, systemd-devel BuildRequires: libtirpc-devel, quota-devel Requires(pre): coreutils shadow-utils -Requires(post): chkconfig systemd +Requires(post): systemd Requires(preun): systemd Requires(postun): systemd coreutils @@ -61,7 +60,6 @@ autoreconf -fisv make all %install -rm -rf %{buildroot} mkdir -p %{buildroot}{%{_sbindir},%{_bindir},/etc/sysconfig} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_tmpfilesdir} @@ -101,12 +99,6 @@ fi %postun %systemd_postun_with_restart rpcbind.service rpcbind.socket -%triggerun -- rpcbind < 0.2.0-15 -%{_bindir}/systemd-sysv-convert --save rpcbind >/dev/null 2>&1 ||: -/bin/systemctl --no-reload enable rpcbind.service >/dev/null 2>&1 -/sbin/chkconfig --del rpcbind >/dev/null 2>&1 || : -/bin/systemctl try-restart rpcbind.service >/dev/null 2>&1 || : - %triggerin -- rpcbind > 0.2.2-2.0 if systemctl -q is-enabled rpcbind.socket then @@ -115,6 +107,7 @@ then fi %files +%license COPYING %config(noreplace) /etc/sysconfig/rpcbind %doc AUTHORS ChangeLog README %{_bindir}/rpcbind @@ -128,6 +121,10 @@ fi %attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir} %changelog +* Wed Oct 17 2018 Peter Robinson 1.2.5-2 +- Drop old sys-v migration bits +- Ship the license file, minor spec cleanups + * Tue Oct 9 2018 Steve Dickson - 1.2.5-1 - Fixed stack buffer overflow in rpcinfo (bz 1637562)