On 24 May 2012 05:36, Stephan Kulow <coolo@suse.de> wrote:
Am 24.05.2012 01:41, schrieb Cristian Morales Vega:
I think we're at a point where we should default to create baselibs for all shared library packages by default without this outdated stuff IMO.
Since the OBS isn't building right now I couldn't test it so much. But https://github.com/openSUSE/obs-build/pull/13
Hi Cristian,
The patch doesn't look like it's doing what I had in mind. I was talking only about shared library packages, your patch looks like it's doing it for *.rpm - this might become too heavy.
I could do a check for file contents, but the check is already done inside handle_rpms(): -------- if (!%files) { print "$rname($target): empty filelist, skipping rpm\n"; next; } -------- It actually *tries* to create the "-32bit packages" (no idea how to name them) for every rpm. But it will only create them if it contains files that the global configuration asks for (right now "+.*/lib(64)?/.*\.(so.*|o|a|la)$"). The only packages it creates without need are "<X>-debuginfo-32bit" ones when there is no "<X>-32bit" package, but I delete them at the end. I would say there are only three kind of packages: - libXXXX - libXXXX-devel - XXXX With the patch it creates -32bit packages for the first two types but not for the third (unless it contains a "+.*/lib(64)?/.*\.(so.*|o|a|la)$" file). Is this OK? Should it avoid -devel ones? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org