[CentOS-devel] new weak-updates kmods

Thu Dec 4 16:41:19 UTC 2008
Farkas Levente <lfarkas at lfarkas.org>

hi,
currently all new kmods which use the weak-updates can be patched as:
----------------------------------------------
@@ -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
in this way don't need to add the kmodtool to all srpms and would be
cleaner.

ps. just my 2c.

-- 
  Levente                               "Si vis pacem para bellum!"