On Thu, Nov 10, 2016 at 11:08 AM, Paul Bolle <[email protected]> wrote:
> We don't build for (31 bits) s390 but only for (64 bits) s390x. So remove a 
> few
> irrelevant references to s390.
>
> Signed-off-by: Paul Bolle <[email protected]>

Seems fine.

josh

> ---
>  kernel.spec | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/kernel.spec b/kernel.spec
> index 05e0190eea19..434059e759b3 100644
> --- a/kernel.spec
> +++ b/kernel.spec
> @@ -216,7 +216,7 @@ Summary: The Linux kernel
>
>  %if %{with_vdso_install}
>  # These arches install vdso/ directories.
> -%define vdso_arches %{x86_32} x86_64 %{power64} s390 s390x aarch64
> +%define vdso_arches %{x86_32} x86_64 %{power64} s390x aarch64
>  %endif
>
>  # Overrides for generic default options
> @@ -324,7 +324,7 @@ Summary: The Linux kernel
>  # Which is a BadThing(tm).
>
>  # We only build kernel-headers on the following...
> -%define nobuildarches i386 s390
> +%define nobuildarches i386
>
>  %ifarch %nobuildarches
>  %define with_up 0
> @@ -359,7 +359,7 @@ Version: %{rpmversion}
>  Release: %{pkg_release}
>  # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN 
> ARCHITECTURE BUILD.
>  # SET %%nobuildarches (ABOVE) INSTEAD
> -ExclusiveArch: %{x86_32} x86_64 ppc64 ppc64p7 s390 s390x %{arm} aarch64 
> ppc64le
> +ExclusiveArch: %{x86_32} x86_64 ppc64 ppc64p7 s390x %{arm} aarch64 ppc64le
>  ExclusiveOS: Linux
>  %ifnarch %{nobuildarches}
>  Requires: kernel-core-uname-r = %{KVERREL}%{?variant}
> @@ -380,7 +380,7 @@ BuildRequires: sparse
>  %if %{with_perf}
>  BuildRequires: zlib-devel binutils-devel newt-devel python-devel 
> perl(ExtUtils::Embed) bison flex xz-devel
>  BuildRequires: audit-libs-devel
> -%ifnarch s390 s390x %{arm}
> +%ifnarch s390x %{arm}
>  BuildRequires: numactl-devel
>  %endif
>  %endif
> --
> 2.7.4
> _______________________________________________
> kernel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to