update to 4.4.23 [release 4.4.23-1mamba;Sun Oct 02 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 01:24:53 +01:00
parent 3a9327699a
commit c78e329ae2

View File

@ -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.4.20
%define KERNEL_OBSOLETES_ARE_FOR_VERSION 4.4.23
#% 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.4.20
Version: 4.4.23
Release: 1mamba
Summary: The Linux Kernel, the operating system core itself
Group: System/Kernel and Hardware
@ -211,6 +211,7 @@ Provides: kernel = %{version}
Obsoletes: kernel-%{KERNEL_TARGET} < 3.10
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.20
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}
@ -229,6 +230,7 @@ Obsoletes: kernel-alsa-devel
Obsoletes: kernel-%{KERNEL_TARGET}-source < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.20
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-source
@ -245,6 +247,7 @@ Provides: kernelheaders = %{version}
Obsoletes: kernel-%{KERNEL_TARGET}-headers < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.20
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-headers
@ -260,6 +263,7 @@ Provides: kernelsanitisedheaders = %{version}
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.20
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-headers-sanitised
@ -276,6 +280,7 @@ Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
Obsoletes: kernel-%{KERNEL_TARGET}-sound < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.20
## KERNELOBSOLETES-END
%description %{KERNEL_TARGET}-sound
@ -293,6 +298,7 @@ Requires: iwlwifi-firmware
Obsoletes: kernel-%{KERNEL_TARGET}-wireless < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.20
## KERNELOBSOLETES-END
Requires: crda
@ -309,6 +315,7 @@ Requires: kernel-%{KERNEL_TARGET} == %{version}-%{release}
Obsoletes: kernel-%{KERNEL_TARGET}-firmware < 3.10
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.8
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.15
Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.20
## KERNELOBSOLETES-END
Provides: linux_firmware
@ -681,17 +688,17 @@ echo "%{_prefix}/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/arch/$headers_arch" >>
%{_builddir}/kernel-%{kernel_ver}%{?KERNEL_TARGET}/kernel-headers.files
# install sanitised headers used by glibc
%ifarch x86_64
ARCH=%{target_cpu} make headers_install \
HOSTCC=%{_build}-gcc \
CROSS_COMPILE=%{_target_platform}- \
INSTALL_HDR_PATH=%{buildroot}%{_prefix}/src/linux-%{kernel_ver}%{KERNEL_TARGET}/usr
%else
#% ifarch x86_64
#ARCH=%{target_cpu} make headers_install \
# HOSTCC=%{_build}-gcc \
# CROSS_COMPILE=%{_target_platform}- \
# INSTALL_HDR_PATH=%{buildroot}%{_prefix}/src/linux-%{kernel_ver}%{KERNEL_TARGET}/usr
#% else
ARCH=%{target_cpu} make headers_install \
HOSTCC=%{_target_platform}-gcc \
CROSS_COMPILE=%{_target_platform}- \
INSTALL_HDR_PATH=%{buildroot}%{_prefix}/src/linux-%{kernel_ver}%{KERNEL_TARGET}/usr
%endif
#% endif
# from kernel 3.0.4 patch
rm -f %{buildroot}/usr/src/linux-%{kernel_ver}%{?KERNEL_TARGET}/MAINTAINERS.orig
@ -1036,6 +1043,9 @@ exit 0
/lib/firmware/*
%changelog
* Sun Oct 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.23-1mamba
- update to 4.4.23
* Fri Sep 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.20-1mamba
- update to 4.4.20