From 022013db6e4c8ffa5c32d11495e4d4f210c23c0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 15 Apr 2010 19:43:46 +0000 Subject: [PATCH] Fix conflicts between kernel-headers and glibc-headers that causes following error; Transaction Check Error: file /usr/include/scsi/scsi.h from install of kernel-headers-2.6.22.19-vs2.3.0.34.46.planetlab.x86_64 conflicts with file from package glibc-headers-2.5-42.el5_4.3.x86_64 file /usr/include/scsi/scsi_ioctl.h from install of kernel-headers-2.6.22.19-vs2.3.0.34.46.planetlab.x86_64 conflicts with file from package glibc-headers-2.5-42.el5_4.3.x86_64 file /usr/include/scsi/sg.h from install of kernel-headers-2.6.22.19-vs2.3.0.34.46.planetlab.x86_64 conflicts with file from package glibc-headers-2.5-42.el5_4.3.x86_64 --- kernel-2.6.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel-2.6.spec b/kernel-2.6.spec index 3317bc5ce..7d8077721 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -557,6 +557,7 @@ BuildKernel() { make -s ARCH=$Arch INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr find $RPM_BUILD_ROOT/%{_includedir} -name \*.cmd -delete rm -f $RPM_BUILD_ROOT/%{_includedir}/{..,.}{check,install}* + rm -rf $RPM_BUILD_ROOT/usr/include/scsi %endif %if %{iwlwifi} -- 2.43.0