diff --git a/rpcbind.spec b/rpcbind.spec index 4064794198523e30a1b942b515e5ab30c32e3104..a227b6df44f31e51ed8324f106a3b495f036d1e6 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -1,10 +1,11 @@ # These are macros to be usable outside of the build section +%define anolis_release .0.1 %global rpcbind_user_group rpc %global rpcbind_state_dir %{_rundir}/rpcbind Name: rpcbind Version: 1.2.5 -Release: 8%{?dist} +Release: 8%{anolis_release}%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: BSD @@ -22,6 +23,9 @@ Requires(post): chkconfig systemd policycoreutils Requires(preun): systemd Requires(postun): systemd coreutils +Provides: /usr/bin/rpcbind +Requires: glibc + # # RHEL 8.0 # @@ -51,6 +55,14 @@ The rpcbind utility is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make RPC calls on a server on that machine. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -145,7 +157,6 @@ fi %files %defattr(-,root,root) %config(noreplace) /etc/sysconfig/rpcbind -%doc AUTHORS ChangeLog README %{_bindir}/rpcbind %{_bindir}/rpcinfo %{_sbindir}/rpcbind @@ -156,7 +167,13 @@ fi %{_tmpfilesdir}/%{name}.conf %attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir} +%files doc +%doc AUTHORS ChangeLog README + %changelog +* Sat Jul 16 2022 Xiaoping Liu - 1.2.5-8.0.1 +- Add doc sub package + * Thu Nov 19 2020 Steve Dickson - 1.2.5-8 - security: dowgrade priority for non-libwrap CALLIT logging (bz 1897122)