diff --git a/rpcbind.spec b/rpcbind.spec index f5c40bb8141787982da442ee6f49d8dd8b0ae8f0..f5077ffe6930dda1055c7a6301eb11aaaaf7e793 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 # These are macros to be usable outside of the build section %global rpcbind_user_group rpc @@ -39,6 +39,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: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -p1 @@ -105,7 +113,6 @@ fi %files %license COPYING %config(noreplace) /etc/sysconfig/rpcbind -%doc AUTHORS ChangeLog README %{_bindir}/rpcbind %{_bindir}/rpcinfo %{_sbindir}/rpcbind @@ -116,6 +123,12 @@ fi %{_tmpfilesdir}/%{name}.conf %attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir} +%files doc +%doc AUTHORS ChangeLog README + %changelog +* Mon Oct 10 2022 mgb01105731 - 1.2.6-2 +- add doc package + * Fri Mar 11 2022 Chunmei Xu - 1.2.6-1 - init from upstream 1.2.6