Provide installonlypkg(kernel-module)
Some checks failed
RPMs/gasket-driver/pipeline/head There was a failure building this commit
Some checks failed
RPMs/gasket-driver/pipeline/head There was a failure building this commit
This should hopefully allow multiple simultaneous versions of the package to be installed (i.e. one for each installed kernel), without having to explicitly specify `installonlypkgs = gasket-driver` in `dnf.conf`.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
Name: gasket-driver
|
||||
Version: 0.0.git%{git_revision}
|
||||
Release: 3.k%{kernel_version}%{?dist}
|
||||
Release: 4.k%{kernel_version}%{?dist}
|
||||
Summary: The Coral Gasket Driver allows usage of the Coral EdgeTPU on Linux systems
|
||||
|
||||
License: GPL-2.0
|
||||
@@ -19,6 +19,7 @@ Patch0: 0001-core-Omit-no_llseek-reference.patch
|
||||
Patch1: 0002-Update-gasket_page_table.c-Fix-MODULE_IMPORT_NS.patch
|
||||
|
||||
BuildRequires: kernel-devel
|
||||
Provides: installonlypkg(kernel-module)
|
||||
Requires: kernel-core == %{kernel_version}
|
||||
Conflicts: kernel-core > %{kernel_version}
|
||||
Requires(post): kmod
|
||||
@@ -50,6 +51,9 @@ depmod -a %{kernel_ver}.%{_arch}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Nov 23 2025 Dustin C. Hatch <dustin@hatch.name> [0.0.git5815ee3-4]
|
||||
- Provide installonlypkg(kernel-module)
|
||||
|
||||
* Sun Nov 16 2025 Dustin C. Hatch <dustin@hatch.name> [0.0.git5815ee3-2]
|
||||
- Include kernel version in release tag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user