From bb9ab081d81d1025df7a816eba899c4351b9aee9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:56:09 +0100 Subject: [PATCH] removal of last conflicts with util-linux [release 4.18.1-3mamba;Sun May 21 2023] --- manpages-l10n.spec | 51 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/manpages-l10n.spec b/manpages-l10n.spec index 8d6824e..51d643a 100644 --- a/manpages-l10n.spec +++ b/manpages-l10n.spec @@ -1,7 +1,7 @@ %define gitver %(echo %version | tr _ -) Name: manpages-l10n Version: 4.18.1 -Release: 1mamba +Release: 3mamba Summary: Translations of man pages Group: System/Internationalization Vendor: openmamba @@ -47,6 +47,16 @@ Supplements: (man-pages and langpacks-de) %description -n man-pages-de German translations of the Linux man pages. +%package -n man-pages-es +Group: System/Internationalization +Summary: Spanish translation of the Linux man pages +Requires: man-db +Requires: man-pages +Supplements: (man-pages and langpacks-es) + +%description -n man-pages-es +Spanish translations of the Linux man pages. + %package -n man-pages-fr Group: System/Internationalization Summary: French translations of the Linux man pages @@ -128,21 +138,39 @@ Romanian translations of the Linux man pages. ./configure --prefix=%{_prefix} # NOTE: keeping current stand-alone packages for es, it, pl -for _lang in cs da de fr mk nl pl pt_BR ro; do +for _lang in cs da de es fr mk nl pl pt_BR ro; do make -C po/${_lang} done %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -for _lang in cs da de fr mk nl pl pt_BR ro; do +for _lang in cs da de es fr mk nl pl pt_BR ro; do %makeinstall -C po/${_lang} done # Conflicting pages provided by shadow -rm -f %{buildroot}%{_mandir}/{cs,da,de,fr,pl}/man1/groups.1* -rm -f %{buildroot}%{_mandir}/{de,fr,pl}/man3/getspnam.3* -rm -f %{buildroot}%{_mandir}/{de,fr,pl}/man1/su.1* +rm -f %{buildroot}%{_mandir}/*/man1/groups.1* +rm -f %{buildroot}%{_mandir}/*/man3/getspnam.3* +rm -f %{buildroot}%{_mandir}/*/man1/su.1* + +# Conflicting pages provided by util-linux +rm -f %{buildroot}%{_mandir}/*/man*/{\ +colrm,getopt,last,lastb,look,more,namei,newgrp,ul,write,fstab,\ +ctrlaltdel,tunelp,vigr,vipw,dmesg,fallocate,flock,getopt,ionice,\ +ipcmk,ipcrm,ipcs,irqtop,last,logger,lscpu,mcookie,mesg,more,mountpoint,\ +nsenter,prlimit,runuser,script,scriptreplay,setsid,setterm,utmpdump,\ +wall,whereis,uuid,uuid_clear,uuid_compare,uuid_copy,uuid_generate,\ +uuid_is_null,uuid_parse,uuid_time,uuid_unparse,terminal-colors.d,\ +addpart,agetty,blkdiscard,blkid,blockdev,cfdisk,chcpu,ctrlaltdel,\ +delpart,fdisk,findfs,fsck,fsck.cramfs,fsck.minix,fsfreeze,fstrim,\ +isosize,lslocks,mkfs,mkfs.cramfs,mkfs.minix,mount,pivot_root,resizepart,\ +rtcwake,setarch,sulogin,swaplabel,switch_root,umount,uuidd,wdctl,choom,\ +chrt,col,colcrt,column,eject,fincore,hardlink,hexdump,lsipc,lsirq,\ +lslogins,lsmem,mountpoint,renice,rev,scriptlive,setpriv,taskset,ul,\ +unshare,uuidgen,uuidparse,libblkid,adjtime_config,blkzone,chmem,findmnt,\ +fsfreeze,hwclock,isosize,ldattach,losetup,lsblk,lsns,mkfs.bfs,mkswap,partx,\ +readprofile,rfkill,sfdisk,swapon,wipefs,zramctl}\.* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -162,6 +190,11 @@ rm -f %{buildroot}%{_mandir}/{de,fr,pl}/man1/su.1* %dir %{_mandir}/de %{_mandir}/de/man*/* +%files -n man-pages-es +%defattr(-,root,root) +%dir %{_mandir}/es +%{_mandir}/es/man*/* + %files -n man-pages-fr %defattr(-,root,root) %dir %{_mandir}/fr @@ -198,6 +231,12 @@ rm -f %{buildroot}%{_mandir}/{de,fr,pl}/man1/su.1* %{_mandir}/ro/man*/* %changelog +* Sun May 21 2023 Silvan Calarco 4.18.1-3mamba +- removal of last conflicts with util-linux + +* Sat May 20 2023 Silvan Calarco 4.18.1-2mamba +- remove conflicts with util-linux 2.39; add spanish language + * Sun Apr 09 2023 Automatic Build System 4.18.1-1mamba - automatic version update by autodist