diff --git a/SPECS/raspberrypi2.spec b/SPECS/raspberrypi2.spec index db56644..abcf7e6 100644 --- a/SPECS/raspberrypi2.spec +++ b/SPECS/raspberrypi2.spec @@ -11,7 +11,7 @@ ExclusiveArch: aarch64 %define local_version v8 %define bcmmodel 2711 -%define extra_version 1 +%define extra_version 2 # This originally implies Kernel 4.x for RPi 2 and is not appropriate now. # Be careful to change this not to disturb the seamless package update. @@ -49,6 +49,7 @@ Specific kernel and bootcode for Raspberry Pi Group: System Environment/Kernel Summary: The Linux kernel Provides: kernel = %{version}-%{release} +Provides: installonlypkg(kernel) Requires: coreutils #Requires: dracut @@ -63,6 +64,7 @@ Group: System Environment/Kernel Summary: Development package for building kernel modules to match the kernel Provides: kernel-devel = %{version}-%{release} Provides: kernel-devel-uname-r = %{version}-%{release} +Provides: installonlypkg(kernel) Autoreq: no Requires(pre): findutils Requires: findutils @@ -232,6 +234,11 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc %doc /boot/LICENCE.broadcom %changelog +* Tue Jun 04 2024 Koichiro Iwao - 6.6.28-20240423.v8.2 +- Add installonlypkg(kernel) to kernel and -devel subpackages + Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/39 + See also: https://src.fedoraproject.org/rpms/kernel/c/aba3940 + * Thu May 30 2024 Koichiro Iwao - 6.6.28-20240423.v8.1 - Update to version v6.6.28 - Support both Raspberry Pi 4 and 5