On Thu, Jan 29, 2015 at 12:49:05PM +0100, Ruediger Meier wrote:
On Thursday 29 January 2015, Tomáš Chvátal wrote:
Dne Čt 29. ledna 2015 11:48:42, Ruediger Meier napsal(a):
Hi,
IMO our util-linux package is completely messed up. Last year I had spend a lot of time to simplify it, to bring patches upstram etc. But some weeks later after update to 2.25 was finished it became even worse than before. Somehow it was required to split the package into 3 packages to prevent build loops (python, systemd deps)...
This split made the spec file unreadable und IMO unmaintainable. Just have a look how the configure.ac and Makefiles are raped in 3 different ways by dozens of nested, ifdef'ed sed lines.
Is there really no other way to solve these build loops?
Sadly this really is the easiest approach,
The other solution is individual spec for each subackage that needs to be updated in sync.
I don't want another way of such unmaintable split. Just one package, preventing build loops otherwise.
You might have a look at the openldap2 package. IIRC based on one spec file one or two additional are created at built time. Maybe this approach is feasible for util-linux too. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany