> > >>I understand the benefits of the lib policy very well, let me rephrase my >>question: >> >>What does lib policy version 9 provide over the previous one? What will >>splitting the -devel into -static-devel & -devel packages bring? >> >> > >- save space on your fs by not installing things you will never use. >- save space on distrib by having rpm taht could go on the third cd. it is >always a big figth to fit every important rpm on the first 2 cds. >- moth of these .a are never used and will never be, so we no more ship them. > same reasons. >- .. >
And what happens in practice? All these rpm's are just installed on the cluster: libmng1-static-devel-1.0.3-2mdk ash-static-0.3.8-1mdk XFree86-static-libs-4.2.0-11mdk libelf0-static-devel-0.8.0-3mdk libnetpbm9-static-devel-9.24-2mdk libjpeg62-static-devel-6b-23mdk libtiff3-static-devel-3.5.7-4mdk libaa1-static-devel-1.4.0-0.rc5.3mdk recode-static-devel-3.6-3mdk libpng3-static-devel-1.2.1-8mdk t1lib1-static-devel-1.3.1-5mdk libldap2-devel-static-2.0.21-4mdk libusb0.1_4-static-devel-0.1.5-2mdk libungif4-static-devel-4.1.0-18mdk Nobody is going todo any effort in updating the BuildRequires of the packages (all the -static-devel packages are installed on the cluster anyway, why bother?). About the space argument: I'm wondering if this is _really_ going to save that much space. Take a look at how big those packages are: $ du -s *static* 128 a2ps-static-devel-4.13-13mdk.i586.rpm 240 ash-static-0.3.8-1mdk.i586.rpm 44 console-tools-static-devel-0.2.3-31mdk.i586.rpm 16900 glibc_lsb-devel-static-2.2.90-4mdk.i586.rpm 64 libaa1-static-devel-1.4.0-0.rc5.3mdk.i586.rpm 56 libelf0-static-devel-0.8.0-3mdk.i586.rpm 412 libforms0-static-devel-0.9999-4mdk.i586.rpm 88 libjpeg62-static-devel-6b-23mdk.i586.rpm 224 libldap2-devel-static-2.0.21-4mdk.i586.rpm 28 liblm_sensors1-static-devel-2.6.2-4mdk.i586.rpm 116 libmng1-static-devel-1.0.3-2mdk.i586.rpm 84 libnetpbm9-static-devel-9.24-2mdk.i586.rpm 88 libpng3-static-devel-1.2.1-8mdk.i586.rpm 96 libtiff3-static-devel-3.5.7-4mdk.i586.rpm 24 libungif4-static-devel-4.1.0-18mdk.i586.rpm 16 libusb0.1_4-static-devel-0.1.5-2mdk.i586.rpm 60 libwraster2-static-devel-0.80.0-5mdk.i586.rpm 720 recode-static-devel-3.6-3mdk.i586.rpm 160 t1lib1-static-devel-1.3.1-5mdk.i586.rpm 268 WindowMaker-static-devel-0.80.0-5mdk.i586.rpm 2392 XFree86-static-libs-4.2.0-11mdk.i586.rpm Most of these packages are > 100Kb. You're probably going to have more overhead in the rpm package (and perhaps filesystem overhead) then you're ever going to win back. My opinion is that you're only going to make things more complex like this, thus creating more overhead in keeping the BuildRequires of packages correct (but MDK doesn't really care about this, no?). Why not first take a look at all the duplicate files in the packages and filter those out? There's probably more to save there, and that won't provide you more unexpected hidden work... Stefan
