Commit c0869b61 authored by Tomi Leppänen's avatar Tomi Leppänen

[packaging] Move man pages to doc subpackage. Contributes to JB#24119

Signed-off-by: Tomi Leppänen's avatarTomi Leppänen <>
parent 863dc8ce
......@@ -45,7 +45,7 @@ Group: Documentation
BuildArch: noarch
%description -n lib%{name}-doc
Documentation and man pages for International Components for Unicode.
%{!?endian: %global endian %(%{__python} -c "import sys;print (0 if sys.byteorder=='big' else 1)")}
# " this line just fixes syntax highlighting for vim that is confused by the above and continues literal
......@@ -84,12 +84,13 @@ sed -i 's|-nodefaultlibs -nostdlib||' config/mh-linux
test -f uconfig.h.prepend && sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' -i common/unicode/uconfig.h
make %{?_smp_mflags}
#make %{?_smp_mflags} doc
make %{?_smp_mflags} doc
rm -rf $RPM_BUILD_ROOT source/__docs
make %{?_smp_mflags} -C source install DESTDIR=$RPM_BUILD_ROOT
#make %{?_smp_mflags} -C source install-doc docdir=__docs
make %{?_smp_mflags} -C source install-doc \
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
......@@ -115,27 +116,16 @@ make %{?_smp_mflags} -C source check
%files -n lib%{name}
%doc license.html readme.html
%license license.html
%files -n lib%{name}-devel
......@@ -146,8 +136,8 @@ make %{?_smp_mflags} -C source check
%doc %{_datadir}/icu/%{upstream_version}/license.html
%files -n lib%{name}-doc
%doc license.html readme.html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment