From c9cc2de6abed76981c87599439f6fb2f91c762fa603f1741dacb4413a9a3dea7 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 29 Dec 2021 21:23:12 +0000 Subject: [PATCH 1/4] - Increase ulimit -s on ppc64 during build OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=89 --- coccinelle.changes | 5 +++++ coccinelle.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/coccinelle.changes b/coccinelle.changes index fe56131..02dc138 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 29 21:21:21 UTC 2021 - ohering@suse.de + +- Increase ulimit -s on ppc64 during build + ------------------------------------------------------------------- Fri Dec 10 10:10:10 UTC 2021 - ohering@suse.de diff --git a/coccinelle.spec b/coccinelle.spec index 014931d..69d7306 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -63,11 +63,17 @@ fixing bugs in systems code. %autosetup -p1 %build +%ifarch ppc64 +ulimit -s $((1024 * 64)) +%endif autoreconf -fi %configure --with-python=%python_for_executables %make_build -j1 VERBOSE=yes %install +%ifarch ppc64 +ulimit -s $((1024 * 64)) +%endif b="%buildroot" # "because it is simply not possible to strip ocaml binaries that are built # with the -custom option." From e3b927c78356a07bd13a283bf35191b76497e814280e06b826e9edf732db7b04 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 29 Dec 2021 21:37:14 +0000 Subject: [PATCH 2/4] +armv7l OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=90 --- coccinelle.changes | 2 +- coccinelle.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coccinelle.changes b/coccinelle.changes index 02dc138..5a846bf 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Wed Dec 29 21:21:21 UTC 2021 - ohering@suse.de -- Increase ulimit -s on ppc64 during build +- Increase ulimit -s on armv7l/ppc64 during build ------------------------------------------------------------------- Fri Dec 10 10:10:10 UTC 2021 - ohering@suse.de diff --git a/coccinelle.spec b/coccinelle.spec index 69d7306..8299305 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -63,7 +63,7 @@ fixing bugs in systems code. %autosetup -p1 %build -%ifarch ppc64 +%ifarch armv7l ppc64 ulimit -s $((1024 * 64)) %endif autoreconf -fi @@ -71,7 +71,7 @@ autoreconf -fi %make_build -j1 VERBOSE=yes %install -%ifarch ppc64 +%ifarch armv7l ppc64 ulimit -s $((1024 * 64)) %endif b="%buildroot" From 59a0af24ad688a892235962b67d877e898b872f51c707199c819045da8357c60 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 29 Dec 2021 21:55:47 +0000 Subject: [PATCH 3/4] -armv7l OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=91 --- coccinelle.changes | 2 +- coccinelle.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coccinelle.changes b/coccinelle.changes index 5a846bf..02dc138 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Wed Dec 29 21:21:21 UTC 2021 - ohering@suse.de -- Increase ulimit -s on armv7l/ppc64 during build +- Increase ulimit -s on ppc64 during build ------------------------------------------------------------------- Fri Dec 10 10:10:10 UTC 2021 - ohering@suse.de diff --git a/coccinelle.spec b/coccinelle.spec index 8299305..69d7306 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -63,7 +63,7 @@ fixing bugs in systems code. %autosetup -p1 %build -%ifarch armv7l ppc64 +%ifarch ppc64 ulimit -s $((1024 * 64)) %endif autoreconf -fi @@ -71,7 +71,7 @@ autoreconf -fi %make_build -j1 VERBOSE=yes %install -%ifarch armv7l ppc64 +%ifarch ppc64 ulimit -s $((1024 * 64)) %endif b="%buildroot" From 51cde024de6813602ab2bfc1fb8c8db88eae63a22a1eaa47a1ff93cc70ade475 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 29 Dec 2021 21:58:45 +0000 Subject: [PATCH 4/4] - trim list of supported archs to aarch64 ppc64le s390x x86_64 OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=92 --- coccinelle.changes | 2 +- coccinelle.spec | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/coccinelle.changes b/coccinelle.changes index 02dc138..3067f17 100644 --- a/coccinelle.changes +++ b/coccinelle.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Wed Dec 29 21:21:21 UTC 2021 - ohering@suse.de -- Increase ulimit -s on ppc64 during build +- trim list of supported archs to aarch64 ppc64le s390x x86_64 ------------------------------------------------------------------- Fri Dec 10 10:10:10 UTC 2021 - ohering@suse.de diff --git a/coccinelle.spec b/coccinelle.spec index 69d7306..1e4a4ee 100644 --- a/coccinelle.spec +++ b/coccinelle.spec @@ -26,6 +26,7 @@ URL: http://coccinelle.lip6.fr/ Source0: %name-%version.tar.xz Source1: %name.rpmlintrc Patch1: kill-env.diff +ExclusiveArch: aarch64 ppc64le s390x x86_64 BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes @@ -63,17 +64,11 @@ fixing bugs in systems code. %autosetup -p1 %build -%ifarch ppc64 -ulimit -s $((1024 * 64)) -%endif autoreconf -fi %configure --with-python=%python_for_executables %make_build -j1 VERBOSE=yes %install -%ifarch ppc64 -ulimit -s $((1024 * 64)) -%endif b="%buildroot" # "because it is simply not possible to strip ocaml binaries that are built # with the -custom option."