fix pages compression [release 4.13-2mamba;Mon Nov 06 2017]

This commit is contained in:
Silvan Calarco 2024-01-06 06:55:08 +01:00
parent 86500479d8
commit 26302e7d7a

View File

@ -2,7 +2,7 @@
Name: man-pages Name: man-pages
Version: 4.13 Version: 4.13
Release: 1mamba Release: 2mamba
Summary: English man (manual) pages from the Linux Documentation Project Summary: English man (manual) pages from the Linux Documentation Project
Group: Documentation Group: Documentation
Vendor: openmamba Vendor: openmamba
@ -47,9 +47,6 @@ The POSIX man pages are organized into the following sections:
%prep %prep
%setup -q -a1 %setup -q -a1
# manpages are already compressed
%define __os_install_post %{nil}
%build %build
for i in man?; do for i in man?; do
for f in `ls $i 2>/dev/null`; do for f in `ls $i 2>/dev/null`; do
@ -75,25 +72,6 @@ done
%make install prefix=%{buildroot}%{_prefix} %make install prefix=%{buildroot}%{_prefix}
%make install prefix=%{buildroot}%{_prefix} -C man-pages-posix-%{man_pages_posix_ver} %make install prefix=%{buildroot}%{_prefix} -C man-pages-posix-%{man_pages_posix_ver}
# already in diffutils package
rm -f %{buildroot}%{_mandir}/man1/diff.*
# already in coreutils package
rm -f %{buildroot}%{_mandir}/man1/{chgrp.*,chmod.*,chown.*,cp.*}
rm -f %{buildroot}%{_mandir}/man1/{dd.*,df.*,dir.*,dircolors.*,du.*,install.*}
rm -f %{buildroot}%{_mandir}/man1/{ln.*,ls.*,mkdir.*,mkfifo.*,mknod.*,mv.*}
rm -f %{buildroot}%{_mandir}/man1/{rm.*,rmdir.*,touch.*,vdir.*}
# already in module-init-tools
rm -f %{buildroot}%{_mandir}/man2/create_module.*
rm -f %{buildroot}%{_mandir}/man2/delete_module.*
rm -f %{buildroot}%{_mandir}/man2/get_kernel_syms.*
rm -f %{buildroot}%{_mandir}/man2/init_module.*
rm -f %{buildroot}%{_mandir}/man2/query_module.*
#rm -f %{buildroot}%{_mandir}/man3/getspnam.*
rm -f %{buildroot}%{_mandir}/man5/attr.*
rm -f %{buildroot}%{_mandir}/man4/lirc.*
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -108,6 +86,9 @@ rm -f %{buildroot}%{_mandir}/man4/lirc.*
%doc man-pages-posix-%{man_pages_posix_ver}/POSIX-COPYRIGHT %doc man-pages-posix-%{man_pages_posix_ver}/POSIX-COPYRIGHT
%changelog %changelog
* Mon Nov 06 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.13-2mamba
- fix pages compression
* Sun Sep 17 2017 Automatic Build System <autodist@mambasoft.it> 4.13-1mamba * Sun Sep 17 2017 Automatic Build System <autodist@mambasoft.it> 4.13-1mamba
- automatic version update by autodist - automatic version update by autodist