Am Mittwoch, 14. Mai 2008 schrieb Jeff Mahoney:
Hans-Peter Jansen wrote:
Hi,
what's up with kernel rpm specs containing:
%if ! 0%{?opensuse_bs} BuildRequires: kernel-dummy %endif
When I build my kernels based on your specs, I just kill those lines.
Anybody care to explain, what's their business?
While at it, what about
:25,309s/2.6.25.3/%version/g
in kernel-source.spec and a similar change in the others as well.
Sure, other lines need adjusting on the release change as well, but that way, revision changes don't need adjusting all over..
kernel-dummy is used to synchronize release numbers across all the kernel flavors. It's not needed for local building, but it ensures that kernel-$flavor-$version-$release is always the same for all flavors when we build all of them.
Shouldn't this logic should be turned inside out, like: %if 0%{?opensuse_internal_build} BuildRequires: kernel-dummy %endif and get this tag defined locally, instead of constraining external users of your kernel builds?
The kernel RPM spec files are generated by scripts, so things like 2.6.25.3 are auto-inserted. You can see the scripts in the kernel-source.src.rpm
Okay, given, I would carefully patch it up, would you be willing to apply it? Pete -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org