On Wed, 2005-06-29 at 12:00 -0500, Tom 'spot' Callaway wrote:
This line should be:
%ifarch %{kernelonlyarches} %{kernelanduserarches}
With that approach, when a new kernel is released for one of
%{kernelanduserarches}, and only the kernel modules need a rebuild, the
result is that both userspace and the module packages will be built
anyway. And the userspace package will not have its NEVR changed
compared to the previous one -> something somewhere needs to be able to
just discard it, and NOT push it into the repository.
Also, note that NEVR of -debuginfo is derived from the main package.
So, if the NEVR of the main package does not change between updates (eg.
kernel-update-rebuild-only ones, when the module one is not the "main"
package), the resulting -debuginfo packages will be screwed. More info
in a semi-related bug report from the FC1 days when I was first bitten
by this:
https://bugzilla.redhat.com/113276
There may be ways around these, but I think it'll end up messy.
Splitting the SRPMs would be a much simpler approach, and I don't think
that the maintenance burden of doing that would be untolerable at all.