2008/12/20 Farkas Levente <lfarkas@lfarkas.org>

kmodtool shouldn't have to add to all packages rather use the
/usr/lib/rpm/redhat/kmodtool from redhat-rpm-config ie:
----------------------------------------------
@@ -1,7 +1,6 @@
-Source10: kmodtool
 Source11: find-requires
 Source12: find-requires.ksyms
-%define   kmodtool bash %{SOURCE10}
+%define   kmodtool bash /usr/lib/rpm/redhat/kmodtool
----------------------------------------------
and add:
BuildRequires:  redhat-rpm-config

Quick question. Have you considered how you proposal can be used with CentOS-4 rather than CentOS-5?

There is no C-4 /usr/lib/rpm/redhat/kmodtool -- unless I am mistaken. So to implement what you have proposed will cause a divergence of technique -- C-4 this way, C-5 that way. Not a good idea. :-(

Alan.