forked from rpms/rpcbind
Drop old sys-v migration bits, Ship the license file, minor spec cleanups
This commit is contained in:
parent
aa31180791
commit
d344d78664
17
rpcbind.spec
17
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 <pbrobinson@fedoraproject.org> 1.2.5-2
|
||||
- Drop old sys-v migration bits
|
||||
- Ship the license file, minor spec cleanups
|
||||
|
||||
* Tue Oct 9 2018 Steve Dickson <steved@redhat.com> - 1.2.5-1
|
||||
- Fixed stack buffer overflow in rpcinfo (bz 1637562)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user