File lsi-scsi_dh_rdac.spec of Package RDACDriverTest
#
# spec file for package RDAC SCSI Device Handler scsi_dh_rdac (version 0.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://support.novell.com
#
# norootforbuild
Summary: Linux driver for RDAC SCSI Device Handler
Name: lsi-scsi_dh_rdac
BuildRequires: %kernel_module_package_buildreqs
License: GPL
Group: System/Kernel
Version: 1.0
Release: 1
Source0: %name-%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%suse_kernel_module_package kdump um
%description
This package contains RDAC SCSI Device Handler %{driver_name}
%debug_package
%package KMP
Summary: Update for RDAC SCSI Device Handler
Group: System/Kernel
%description KMP
This package contains a driver update for RDAC SCSI Device Handler
%prep
%setup
set -- *
mkdir source
mv "$@" source/
mkdir obj
cd source
%build
for flavor in %flavors_to_build; do
rm -rf obj/$flavor
cp -r source obj/$flavor
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules M=$PWD/obj/$flavor
done
%install
export INSTALL_MOD_PATH=$RPM_BUILD_ROOT
export INSTALL_MOD_DIR=updates
for flavor in %flavors_to_build; do
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install M=$PWD/obj/$flavor
done
%changelog
* Thu Oct 09 2009 vijay.chauhan@lsi.com
-Initial PLDP build of the RDAC SCSI Device Handler