diff --git a/kernel.spec b/kernel.spec index b49cabf..257cc6f 100644 --- a/kernel.spec +++ b/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 3.14.25 +%define KERNEL_OBSOLETES_ARE_FOR_VERSION 3.14.30 #% define kernel_longterm 1 %define kernel_majver %(echo %version | cut -d. -f1-2) @@ -41,8 +41,12 @@ # Build a mamba kernel if no target was specified %if "%{?KERNEL_TARGET}" == "" +%ifarch x86_64 + %define KERNEL_TARGET mamba-x86_64 +%else %define KERNEL_TARGET mamba %endif +%endif # define short kernel target name for Lilo %define KERNEL_TARGET_SHORT %{KERNEL_TARGET} @@ -82,7 +86,7 @@ %define _use_internal_dependency_generator 1 Name: kernel -Version: 3.14.25 +Version: 3.14.30 Release: 1mamba Summary: The Linux Kernel, the operating system core itself Group: System/Kernel and Hardware @@ -213,6 +217,7 @@ Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.11 Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.19 Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.23 Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.24 +Obsoletes: kernel-%{KERNEL_TARGET} = %{kernel_majver}.25 ## KERNELOBSOLETES-END %description %{KERNEL_TARGET} @@ -238,6 +243,9 @@ Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.11 Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.19 Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.23 Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.24 +Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.25 +Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.26 +Obsoletes: kernel-%{KERNEL_TARGET}-source = %{kernel_majver}.27 ## KERNELOBSOLETES-END %description %{KERNEL_TARGET}-source @@ -260,6 +268,9 @@ Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.11 Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.19 Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.23 Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.24 +Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.25 +Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.26 +Obsoletes: kernel-%{KERNEL_TARGET}-headers = %{kernel_majver}.27 ## KERNELOBSOLETES-END %description %{KERNEL_TARGET}-headers @@ -282,6 +293,9 @@ Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.11 Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.19 Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.23 Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.24 +Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.25 +Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.26 +Obsoletes: kernel-%{KERNEL_TARGET}-headers-sanitised = %{kernel_majver}.27 ## KERNELOBSOLETES-END %description %{KERNEL_TARGET}-headers-sanitised @@ -305,6 +319,9 @@ Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.11 Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.19 Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.23 Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.24 +Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.25 +Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.26 +Obsoletes: kernel-%{KERNEL_TARGET}-sound = %{kernel_majver}.27 ## KERNELOBSOLETES-END %description %{KERNEL_TARGET}-sound @@ -329,6 +346,9 @@ Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.11 Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.19 Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.23 Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.24 +Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.25 +Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.26 +Obsoletes: kernel-%{KERNEL_TARGET}-wireless = %{kernel_majver}.27 ## KERNELOBSOLETES-END Requires: crda @@ -352,6 +372,9 @@ Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.11 Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.19 Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.23 Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.24 +Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.25 +Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.26 +Obsoletes: kernel-%{KERNEL_TARGET}-firmware = %{kernel_majver}.27 ## KERNELOBSOLETES-END Provides: linux_firmware @@ -365,6 +388,11 @@ Firmware files used by the Linux Kernel. exit 1 %endif +ld -v | grep "gold" && { + echo "Error: ld GOLD detected, which is incompatible with this package. Aborting." + exit 1 +} + %if "%{?KERNEL_TARGET}" == "" echo "No target specified, aborting." exit 1 @@ -1039,6 +1067,15 @@ exit 0 /lib/firmware/* %changelog +* Thu Jan 29 2015 Silvan Calarco 3.14.30-1mamba +- update to 3.14.30 + +* Sat Dec 20 2014 Silvan Calarco 3.14.27-1mamba +- update to 3.14.27 + +* Tue Dec 16 2014 Silvan Calarco 3.14.26-1mamba +- update to 3.14.26 + * Sat Nov 22 2014 Silvan Calarco 3.14.25-1mamba - update to 3.14.25