!187 Init support for ppc64le

From: @jiahua-yu 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2023-12-25 08:41:37 +00:00 committed by Gitee
commit 4a9d2e828f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: util-linux Name: util-linux
Version: 2.39.1 Version: 2.39.1
Release: 3 Release: 4
Summary: A random collection of Linux utilities Summary: A random collection of Linux utilities
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain 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 URL: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
@ -210,12 +210,12 @@ echo ".so man8/hwclock.8" > %{buildroot}%{_mandir}/man8/clock.8
%find_lang %name %find_lang %name
find %{buildroot}%{_bindir}/ -regextype posix-egrep -type l \ find %{buildroot}%{_bindir}/ -regextype posix-egrep -type l \
-regex ".*(linux32|linux64|aarch64|i386|x86_64|uname26)$" \ -regex ".*(linux32|linux64|aarch64|i386|x86_64|ppc64le|uname26)$" \
-printf "%{_bindir}/%f\n" > %{name}.files -printf "%{_bindir}/%f\n" > %{name}.files
cat %{name}.lang >> %{name}.files cat %{name}.lang >> %{name}.files
find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \ find %{buildroot}%{_mandir}/man8 -regextype posix-egrep \
-regex ".*(linux32|linux64|aarch64|i386|x86_64|uname26)\.8.*" \ -regex ".*(linux32|linux64|aarch64|i386|x86_64|ppc64le|uname26)\.8.*" \
-printf "%{_mandir}/man8/%f*\n" > %{name}-help.files -printf "%{_mandir}/man8/%f*\n" > %{name}-help.files
%find_lang %name --all-name --with-man --without-mo %find_lang %name --all-name --with-man --without-mo
@ -310,6 +310,9 @@ fi
%{_unitdir}/fstrim.* %{_unitdir}/fstrim.*
%{_bindir}/{cal,chrt,col,colcrt,colrm,column,chmem,dmesg,eject,fallocate,fincore,findmnt,choom,uclampset} %{_bindir}/{cal,chrt,col,colcrt,colrm,column,chmem,dmesg,eject,fallocate,fincore,findmnt,choom,uclampset}
%{_bindir}/{flock,getopt,hexdump,ionice,ipcmk,ipcrm,ipcs,isosize,kill,last,lastb,logger,hardlink} %{_bindir}/{flock,getopt,hexdump,ionice,ipcmk,ipcrm,ipcs,isosize,kill,last,lastb,logger,hardlink}
%ifarch ppc64le
%{_bindir}/{ppc,ppc32,ppc64}
%endif
%{_bindir}/{look,lsblk,lscpu,lsipc,lslocks,lslogins,lsmem,lsns,mcookie,mesg,more,mountpoint} %{_bindir}/{look,lsblk,lscpu,lsipc,lslocks,lslogins,lsmem,lsns,mcookie,mesg,more,mountpoint}
%{_bindir}/{namei,nsenter,prlimit,rename,renice,rev,script,scriptreplay,setarch,setpriv,pipesz,lsfd,waitpid,fadvise} %{_bindir}/{namei,nsenter,prlimit,rename,renice,rev,script,scriptreplay,setarch,setpriv,pipesz,lsfd,waitpid,fadvise}
%{_bindir}/{setsid,setterm,taskset,ul,unshare,utmpdump,uuidgen,uuidparse,wdctl,whereis,scriptlive,irqtop,lsirq} %{_bindir}/{setsid,setterm,taskset,ul,unshare,utmpdump,uuidgen,uuidparse,wdctl,whereis,scriptlive,irqtop,lsirq}
@ -402,8 +405,17 @@ fi
%{_mandir}/man8/{mkfs.minix.8*,mkswap.8*,mount.8*,nologin.8*,partx.8*,pivot_root.8*} %{_mandir}/man8/{mkfs.minix.8*,mkswap.8*,mount.8*,nologin.8*,partx.8*,pivot_root.8*}
%{_mandir}/man8/{readprofile.8*,resizepart.8*,rfkill.8*,rtcwake.8*,setarch.8*,sulogin.8.gz,swaplabel.8*} %{_mandir}/man8/{readprofile.8*,resizepart.8*,rfkill.8*,rtcwake.8*,setarch.8*,sulogin.8.gz,swaplabel.8*}
%{_mandir}/man8/{swapoff.8*,swapon.8*,switch_root.8*,umount.8*,wdctl.8.gz,wipefs.8*,zramctl.8*} %{_mandir}/man8/{swapoff.8*,swapon.8*,switch_root.8*,umount.8*,wdctl.8.gz,wipefs.8*,zramctl.8*}
%ifarch ppc64le
%{_mandir}/man8/{linux32.8.*,linux64.8.*,ppc.8*,ppc32.8*,ppc64.8*,uname26.8*}
%endif
%changelog %changelog
* Fri Dec 1 2023 jiahua.yu <jiahua.yu@shingroup.cn> - 2.39.1-4
- Type:update
- CVE:NA
- SUG:NA
- DESC:add support for ppc64le
* Tue Aug 29 2023 zhangyao <zhangyao108@huawei.com> - 2.39.1-3 * Tue Aug 29 2023 zhangyao <zhangyao108@huawei.com> - 2.39.1-3
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA