Added manpages to the package

This commit is contained in:
Alexey Sheplyakov 2021-06-10 09:42:44 +00:00
parent 519dd0f982
commit 44022160d2

View File

@ -202,6 +202,15 @@ rm -rf %buildroot%sysroot/usr/sbin
rm -rf %buildroot%sysroot/usr/libexec
rm -rf %buildroot%sysroot/usr/lib64/audit
rm -rf %buildroot%sysroot/usr/lib64/gconv
rm -rf %buildroot%prefix/share/info
rm -rf %buildroot%prefix/share/man/man7
# python pretty-printers conflict with native compiler
rm -rf %buildroot%prefix/share/gcc-%gcc_branch/python
# conficts with the native compiler and is not particularly useful
rm -f %buildroot%prefix/%_lib/libcc1.so*
# Useless for Linux targets
rm -f %buildroot%prefix/share/man/man1/%target-windmc*
rm -f %buildroot%prefix/share/man/man1/%target-windres*
# XXX: gcc needs this to locate crt1.o
install -d -m 755 %buildroot%sysroot/usr/lib
@ -250,10 +259,14 @@ env LD_LIBRARY_PATH=%buildroot%sysroot/lib64:${gcc_runtime_libdir} \
%prefix/%target/bin/*
%prefix/%target/lib/ldscripts/*
%sysroot/usr/include/*
# XXX: gcc needs %%sysroot/usr/lib to locate C runtime (crt1.o)
%sysroot/usr/lib
%sysroot/lib64/*
%sysroot/usr/lib64/*
# Compatibility symlink to ld.so
%sysroot/lib/*
# man pages of binaries in /usr/bin
%prefix/share/man/man1/%target-*
%changelog
* Fri Jun 04 2021 Alexey Sheplyakov <asheplyakov@altlinux.org> 8.4.1-alt1