On Thu, Jan 19, 2012 at 11:50 AM, Andreas Jaeger <aj@suse.com> wrote:
I just filed feature #313152 - to have a smaller base system which is beneficial for appliances.
Looking at a basic installation (default text server install), I noticed that we have in /usr/share/doc/packages besides the license (which we need to keep) also other files.
An example is glib2, it installs to /usr/share/doc/packages/libglib-2_0-0:
-rw-r--r-- 1 root root 1344 Aug 16 02:51 AUTHORS -rw-r--r-- 1 root root 1895792 Oct 14 15:51 ChangeLog -rw-r--r-- 1 root root 25292 Aug 16 02:51 COPYING -rw-r--r-- 1 root root 197710 Oct 14 15:30 NEWS -rw-r--r-- 1 root root 9906 Oct 14 15:51 README
I suggest to move everything to the devel package (or a doc package if it exists).
On IRC, Vincent and Sascha suggested to keep README, NEWS (and maybe AUTHORS) in the base package and move only ChangeLog to the devel package. Another idea was to compress these files.
My personal opinion is that the vast majority of our users does not need any of these. Those developers that need it, will get it from the devel/doc packages.
What do you think? Any other ideas on getting a smaller base system?
Note: I don't want to make this a hard rule, more a recommendation.
Andreas
What about increasing the badness of the "package-with-huge-docs" rpmlint warning in order to make the build fail if this isn't done. It can be overridden with an rpmlintrc file if absolutely necessary. It might be worth doing the same with "devel-file-in-non-devel-package", since headers can also eat a fair amount of space. -Todd -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org