exclude some redundant pages from help
This commit is contained in:
parent
45ff600ea8
commit
dbd2ffbbf1
@ -1,6 +1,6 @@
|
|||||||
Name: man-pages
|
Name: man-pages
|
||||||
Version: 5.13
|
Version: 5.13
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Linux kernel and user-space C library interfaces documentation
|
Summary: Linux kernel and user-space C library interfaces documentation
|
||||||
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
|
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
|
||||||
URL: http://www.kernel.org/doc/man-pages/
|
URL: http://www.kernel.org/doc/man-pages/
|
||||||
@ -23,6 +23,7 @@ other C libraries available for Linux is also included.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
sed -i 's/prefix := \/usr\/local/prefix := \/usr/g' Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -44,9 +45,17 @@ make install DESTDIR=%{buildroot}
|
|||||||
%doc README man-pages-%{version}.Announce Changes
|
%doc README man-pages-%{version}.Announce Changes
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
/usr/local/share/man*/*
|
%{_mandir}/man*/*
|
||||||
|
%exclude %{_mandir}/man3/crypt_r.3.gz
|
||||||
|
%exclude %{_mandir}/man3/crypt.3.gz
|
||||||
|
%exclude %{_mandir}/man7/bpf-helpers.7.gz
|
||||||
|
%exclude %{_mandir}/man3/MAX.3.gz
|
||||||
|
%exclude %{_mandir}/man3/MIN.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 10 2022 renhongxun <renhongxun@h-partners.com> - 5.13-3
|
||||||
|
- exclude some redundant pages from help
|
||||||
|
|
||||||
* Tue Mar 15 2022 renhongxun <renhongxun@h-partners.com> - 5.13-2
|
* Tue Mar 15 2022 renhongxun <renhongxun@h-partners.com> - 5.13-2
|
||||||
- split help pkg from main pkg
|
- split help pkg from main pkg
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user