As kernel-source and kernel-source-stripped uses the same install path,
the rpms must conflict each other.

Signed-off-by: Thomas Backlund <[EMAIL PROTECTED]>

--- kernel-2.6.spec.old	2006-09-12 19:15:52.000000000 +0300
+++ kernel-2.6.spec	2006-09-12 19:15:41.000000000 +0300
@@ -295,6 +295,7 @@ Requires: glibc-devel, ncurses-devel, ma
 Summary: The source code for the Linux kernel.
 Group: Development/Kernel
 Autoreqprov: no
+Conflicts: %{kname}-source-stripped-%{mdkversion}
 
 %description -n %{kname}-source-%{mdkversion}
 The kernel-source package contains the source code files for the Linux
@@ -318,6 +319,7 @@ Requires: glibc-devel, ncurses-devel, ma
 Summary: The source code of the Linux kernel stripped for post build.
 Group: Development/Kernel
 Autoreqprov: no
+Conflicts: %{kname}-source-%{mdkversion}
 
 %description -n %{kname}-source-stripped-%{mdkversion}
 The kernel-source package contains the source code files for the Linux

Reply via email to