From 3b320653df322a49e159804e0384d1357c449a57 Mon Sep 17 00:00:00 2001 From: Xiaole He Date: Wed, 7 Sep 2022 14:30:54 +0800 Subject: [PATCH] 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 --- util-linux.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/util-linux.spec b/util-linux.spec index 40cc259..7d63c2f 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -2,7 +2,7 @@ Name: util-linux Version: 2.35.2 -Release: 10 +Release: 11 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,13 @@ 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 - 2.35.2-11 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add hardlink manpage + * Wed Mar 16 2022 shangyibin - 2.35.2-10 - Type:bugfix - ID:NA -- Gitee