Name: kernel-sl-policy Version: 1.0.0 Release: 1%{?dist} Summary: DNF policy protecting systems that require the Slash Linux kernel License: MIT URL: https://github.com/slsrepo Source0: 90-kernel-sl-policy.conf Source1: LICENSE Source2: README.md BuildArch: noarch Requires: dnf5 %description Installs an opt-in DNF5 policy that hides Fedora's stock bootable kernel packages from normal package transactions. This is intended for systems, such as T2 Macs, that require the Slash Linux kernel patches to boot and operate correctly. The package does not conflict with installed Fedora kernels and does not make kernel-sl or kernel-sl-v3 mutually exclusive. Administrators can temporarily bypass the policy with DNF5's disable_excludes option. %prep %autosetup -c -T cp -p %{SOURCE1} LICENSE cp -p %{SOURCE2} README.md %build %install install -Dpm 0644 %{SOURCE0} \ %{buildroot}%{_sysconfdir}/dnf/libdnf5.conf.d/90-kernel-sl-policy.conf %files %license LICENSE %doc README.md %config(noreplace) %{_sysconfdir}/dnf/libdnf5.conf.d/90-kernel-sl-policy.conf %changelog * Fri Jul 31 2026 SL Kernel Builder - 1.0.0-1 - Initial kernel-sl policy package