%define debug_package %{nil} Name: permatest Version: 2 Release: 2%{?dist} Summary: Permabit kernel module for logging License: GPLv2 URL: https://github.com/dm-vdo/permatest Source0: %{url}/archive/refs/heads/main.tar.gz Requires: dkms Requires: kernel-devel Requires: make BuildArch: noarch %description Permabit kernel logging module for use during testing %prep %setup -q -n %{name}-main %build # Nothing doing here, as we're going to build on whatever kernel we end up # running inside. %install src_directory=$RPM_BUILD_ROOT/%{_usr}/src/%{name}-%{version} mkdir -p ${src_directory} cp -r * ${src_directory}/ cat > ${src_directory}/dkms.conf < $RPM_BUILD_ROOT/%{_sysconfdir}/modules-load.d/permatest.conf < 2-2 - Use noarch to support alternate architectures. * Fri Apr 29 2022 Joseph Chapman 2-1 - Use default_groups to specify attributes * Wed Jan 12 2022 Andy Walsh 1-1 - Initial implementation