update to 4.9.43 [release 4.9.43-1mamba;Thu Aug 17 2017]
This commit is contained in:
parent
73cc0ca273
commit
47ff59ab4a
62
kernel.spec
62
kernel.spec
@ -21,7 +21,7 @@
|
||||
|
||||
# Don't parametrize this, it's a check to avoid build a kernel without having
|
||||
# edited the obsoletes needed for multiple kernel support
|
||||
%define KERNEL_OBSOLETES_ARE_FOR_VERSION 4.9.30
|
||||
%define KERNEL_OBSOLETES_ARE_FOR_VERSION 4.9.43
|
||||
|
||||
#% define kernel_longterm 1
|
||||
%define kernel_MAJver %(echo %version | cut -d. -f1)
|
||||
@ -87,7 +87,7 @@
|
||||
%define _use_internal_dependency_generator 1
|
||||
|
||||
Name: kernel
|
||||
Version: 4.9.30
|
||||
Version: 4.9.43
|
||||
Release: 1mamba
|
||||
Summary: The Linux Kernel, the operating system core itself
|
||||
Group: System/Kernel and Hardware
|
||||
@ -226,7 +226,8 @@ Obsoletes: kernel-%{KERNEL_TARGET} < 3.10
|
||||
Obsoletes: kernel-%{KERNEL_TARGET} = 3.6.5
|
||||
Obsoletes: kernel-%{KERNEL_TARGET} = 4.8.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET} = 4.8.13
|
||||
#Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.30
|
||||
## KERNELOBSOLETES-END
|
||||
|
||||
%description %{KERNEL_TARGET}
|
||||
@ -247,6 +248,7 @@ Obsoletes: kernel-%{KERNEL_TARGET}-source = 4.6.5
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-source = 4.8.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-source = 4.8.13
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.30
|
||||
## KERNELOBSOLETES-END
|
||||
|
||||
%description %{KERNEL_TARGET}-source
|
||||
@ -265,6 +267,7 @@ Obsoletes: kernel-%{KERNEL_TARGET}-headers = 4.6.5
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers = 4.8.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers = 4.8.13
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.30
|
||||
## KERNELOBSOLETES-END
|
||||
|
||||
%description %{KERNEL_TARGET}-headers
|
||||
@ -282,44 +285,13 @@ Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = 4.6.5
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = 4.8.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = 4.8.13
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.30
|
||||
## KERNELOBSOLETES-END
|
||||
|
||||
%description %{KERNEL_TARGET}-headers-sanitised
|
||||
Sanitised kernel headers used for glibc build.
|
||||
This kernel sanitised headers are configured for %{TARGET_CPU} architecture and the following target: %{?KERNEL_TARGET}.
|
||||
|
||||
%package %{KERNEL_TARGET}-sound
|
||||
Group: System/Kernel and Hardware
|
||||
Summary: The kernel sound subsystem
|
||||
Provides: kernelsound = %{version}
|
||||
Provides: kernelsound-%{KERNEL_TARGET}-%{kernel_ver}
|
||||
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
|
||||
## KERNELOBSOLETES-BEGIN 3.18
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-sound < 3.10
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.1
|
||||
## KERNELOBSOLETES-END
|
||||
|
||||
%description %{KERNEL_TARGET}-sound
|
||||
The kernel-sound package contains the native kernel sound subsystem with ALSA drivers.
|
||||
This is packaged apart because more up-to-date drivers are provided by kernel-%{KERNEL_TARGET}-extramodules-source package which uses more up-to-date drivers from the ALSA project.
|
||||
|
||||
%package %{KERNEL_TARGET}-wireless
|
||||
Group: System/Kernel and Hardware
|
||||
Summary: The kernel wireless subsystem
|
||||
Provides: kernelwireless = %{version}
|
||||
Provides: kernelwireless-%{KERNEL_TARGET}-%{kernel_ver}
|
||||
Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
|
||||
Requires: iwlwifi-firmware
|
||||
## KERNELOBSOLETES-BEGIN 3.18
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-wireless < 3.10
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.1
|
||||
## KERNELOBSOLETES-END
|
||||
Requires: crda
|
||||
|
||||
%description %{KERNEL_TARGET}-wireless
|
||||
The kernel-wireless package contains the native kernel wireless subsystem with drivers.
|
||||
This is packaged apart because more up-to-date drivers are provides by kernel-%{KERNEL_TARGET}-extramodules package which uses drivers from the wireless-compat project.
|
||||
|
||||
%package %{KERNEL_TARGET}-firmware
|
||||
Group: System/Kernel and Hardware
|
||||
Summary: Firmware files used by the Linux Kernel
|
||||
@ -331,6 +303,7 @@ Obsoletes: kernel-%{KERNEL_TARGET}-firmware = 4.6.5
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = 4.8.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = 4.8.13
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.1
|
||||
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.30
|
||||
## KERNELOBSOLETES-END
|
||||
Provides: linux_firmware
|
||||
|
||||
@ -792,22 +765,6 @@ if [ $1 -eq 0 ]; then
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%post %{?KERNEL_TARGET}-wireless
|
||||
# new install or upgrade
|
||||
if [ $1 -ge 1 ]; then
|
||||
/sbin/depmod -a -F /boot/System.map-%{kernel_ver}%{?KERNEL_TARGET} \
|
||||
%{kernel_ver}%{?KERNEL_TARGET} &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%post %{?KERNEL_TARGET}-sound
|
||||
# new install or upgrade
|
||||
if [ $1 -ge 1 ]; then
|
||||
/sbin/depmod -a -F /boot/System.map-%{kernel_ver}%{?KERNEL_TARGET} \
|
||||
%{kernel_ver}%{?KERNEL_TARGET} &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%posttrans %{?KERNEL_TARGET}
|
||||
# clean our orphan old initramfs
|
||||
ls /boot/initramfs-*-failsafe.img | \
|
||||
@ -1063,6 +1020,9 @@ exit 0
|
||||
/lib/firmware/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.43-1mamba
|
||||
- update to 4.9.43
|
||||
|
||||
* Tue May 30 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.30-1mamba
|
||||
- update to 4.9.30
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user