Displaying 1 result from an estimated 1 matches for "kernel_module_package_buildreq".
Did you mean:
kernel_module_package_buildreqs
2019 Apr 12
2
rpmbuild how to know we are building kernel module package
...river Update Program package
Group: System/Kernel
License: GPLv2
URL: http://www.lsilogic.com
Distribution: LSI Corporation
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}.files
Source2: %{name}.conf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: %kernel_module_package_buildreqs
%global kernel_version `uname -r`
%kernel_module_package -f %{SOURCE1} default
%description
LSI MPT Fusion HBA drivers (12gb SAS)
%prep
%setup
set -- *
mkdir source
mv "$@" source/
mkdir obj
%build
for flavor in %flavors_to_build; do
rm -rf obj/$flavor
cp -r source obj/$flavor
m...