Bug 3521

Summary: /usr/share/doc/lua-5.0/manual.html is too large
Product: Sisyphus Reporter: Dmitry V. Levin <ldv>
Component: liblua5Assignee: at <at>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   

Description Dmitry V. Levin 2004-01-19 17:29:57 MSK
/usr/share/doc/lua-5.0/manual.html is too large for library package. 
Please move it to another package or compress.
Comment 1 at@altlinux.org 2004-01-20 17:41:22 MSK
Obviously this is rpm fault (the one we used to encounter).
This is because _customdocdir was redefined.
I'm in doubt whether the bug has to be reassigned to rpm package.

$ rpm -qf /usr/share/doc/lua-5.0/manual.html
liblua5-5.0-alt6
lua5-5.0-alt6
$

$ awk '/_docdir/,/%changelog/{print}' ~/RPM/SPECS/lua5.spec
%define _customdocdir %_docdir/%realname-%version

%files
%_altdir/*
%_bindir/lua*
%_man1dir/*
%_datadir/%name
%doc doc/*.html doc/*.gif

%files -n lib%name
%_libdir/*.so.*
%doc COPYRIGHT HISTORY README*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/*.h

%files -n lib%name-devel-static
%_libdir/*.a

%post -n lib%name
%post_ldconfig

%postun -n lib%name
%postun_ldconfig

%changelog
$
Comment 2 at@altlinux.org 2004-01-30 04:49:56 MSK
Ok, _customdocdir was misused.
Both lua4-4.0.1-alt8.src.rpm and lua5-5.0-alt7.src.rpm are awaited in
cvs:/incoming/Sisyphus/.