util-linux: add hardlink manpage

Currently, the command to install rpm of 'util-linux' will install the
'hardlink' tool:

/* command begin */
yum install util-linux
/* command end */

But the the command to install rpm of 'util-linux-help' will not install
the manpage of 'hardlink':

/* command begin */
yum install util-linux-help
/* command end */

This patch fix above problem, add manpage of 'hardlink' into the rpm of
'util-linux-help'.

Additionally, above problem might been introduced from below issue that
remove the rpm of 'hardlink', in this issue, seems there only remove the
 rpm of 'hardlink' but ignore to add manpage of 'hardlink' into rpm of
'util-linux':
Link: https://gitee.com/src-openeuler/util-linux/issues/I4AEO4?from=project-issue

Signed-off-by: Xiaole He <hexiaole@kylinos.cn>
This commit is contained in:
Xiaole He 2022-09-07 14:54:24 +08:00
parent 25ff99442f
commit db20ab4d7b

View File

@ -2,7 +2,7 @@
Name: util-linux
Version: 2.35.2
Release: 11
Release: 12
Summary: A random collection of Linux utilities
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
URL: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
@ -392,7 +392,6 @@ fi
%exclude %{_datadir}/doc/util-linux/getopt/*
%doc README NEWS Documentation/deprecated.txt
%doc %attr(0644,-,-) misc-utils/getopt-*.{bash,tcsh}
%exclude %{_mandir}/man1/hardlink.1*
%{_mandir}/man1/{chfn.1*,chsh.1*,cal.1*,chrt.1*,col.1*,colcrt.1*,colrm.1*,column.1*,dmesg.1*,eject.1*}
%{_mandir}/man1/{fallocate.1*,fincore.1*,flock.1*,getopt.1*,hexdump.1*,ionice.1*,ipcmk.1*,ipcrm.1*,ipcs.1*}
%{_mandir}/man1/{kill.1*,last.1*,lastb.1*,logger.1*,login.1*,look.1*,lscpu.1*,lsipc.1*,lslogins.1*,lsmem.1*}
@ -411,6 +410,12 @@ fi
%{_mandir}/man8/{swapoff.8*,swapon.8*,switch_root.8*,umount.8*,wdctl.8.gz,wipefs.8*,zramctl.8*}
%changelog
* Wed Sep 7 2022 Xiaole He <hexiaole@kylinos.cn> - 2.35.2-12
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add hardlink manpage
* Wed Mar 16 2022 shangyibin<shangyibin1@h-partners.com> - 2.35.2-11
- Type:bugfix
- ID:NA