From 2b39b9ba1280ba4fda85a4da09a0f03322707eb1 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Thu, 20 Feb 2020 09:49:50 +0100 Subject: [PATCH 01/23] [packit] 0.13 upstream release Upstream tag: v0.13 Upstream commit: c6aa3974 Signed-off-by: Ernestas Kulik --- .gitignore | 1 + .packit.yml | 18 ++++++++++++++++++ README.packit | 3 +++ sources | 2 +- will-crash.spec | 46 +++++++++++++++++++++++++--------------------- 5 files changed, 48 insertions(+), 22 deletions(-) create mode 100644 .packit.yml create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index 33574ea..517be7c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /will-crash-0.9.tar.gz /will-crash-0.10.tar.gz /will-crash-v0.12.tar.gz +/will-crash-0.13.tar.gz diff --git a/.packit.yml b/.packit.yml new file mode 100644 index 0000000..09deb35 --- /dev/null +++ b/.packit.yml @@ -0,0 +1,18 @@ +specfile_path: will-crash.spec +synced_files: + - .packit.yml + - will-crash.spec +upstream_package_name: will-crash +upstream_project_url: https://github.com/abrt/will-crash +downstream_package_name: will-crash +jobs: +- job: propose_downstream + trigger: release + metadata: + dist-git-branch: fedora-all +- job: copr_build + trigger: pull_request + metadata: + targets: + - epel-8 + - fedora-all diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..19936d7 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.8.1. diff --git a/sources b/sources index 2cf2b3c..1c5fb5f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (will-crash-v0.12.tar.gz) = 13e2eb1cd33e62a70b8d75a11f2d2f65a49d34848e65ab06150e48a0bf7a6786e3b89b0fcfe303debf030cfccbbb421aedcbfdf7b6dd568c573e9a10ff5bb57b +SHA512 (will-crash-0.13.tar.gz) = 5e14a1782709fc5466bf5e4fbbe508b61717378fffe7184af7e328ee209d0b22a1536eba7d9c97b6c617dd2dde588ba962badb6fc84038107f20b22b79d7215d diff --git a/will-crash.spec b/will-crash.spec index 980e0b5..d4934cc 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -3,25 +3,27 @@ %global _hardened_build 1 Name: will-crash -Version: 0.12 -Release: 3%{?dist} +Version: 0.13 +Release: 1%{?dist} Summary: Set of crashing executables written in various languages +Group: Development/Tools License: GPLv3 URL: https://github.com/abrt/will-crash -Source0: https://github.com/abrt/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz +Source0: https://github.com/abrt/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: autoconf -BuildRequires: automake BuildRequires: java-devel +BuildRequires: javapackages-tools BuildRequires: libtool +BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: ruby-devel -Requires: ruby + Requires: java-headless >= 1.7.0.0 Requires: javapackages-tools - +Requires: perl Requires: python3 +Requires: ruby %description The main purpose of this project is to provide sample @@ -32,26 +34,23 @@ like ABRT. %setup -q %build -./autogen.sh -%configure - -make %{?_smp_mflags} +%meson \ + -Djavadir=%{_javadir} \ + -D_java_home=%{java_home} \ + %{nil} +%meson_build %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/java - -make install DESTDIR=%{buildroot} -# no devel package -> no *.so links to versioned libraries needed -find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f +%meson_install %files %doc README.rst %doc LICENSE -%doc AUTHORS %{_bindir}/will_segfault %{_bindir}/will_segfault_in_new_pid %{_bindir}/will_segfault_threads %{_bindir}/will_abort +%{_bindir}/will_perl_sigsegv %{_bindir}/will_python3_sigsegv %{_bindir}/will_python3_raise %{_bindir}/will_ruby_raise @@ -62,14 +61,19 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f %{_bindir}/will_cpp_segfault %{_bindir}/will_stackoverflow %{_bindir}/will_oops -%{_datadir}/java/* +%{_datadir}/java/WillRaiseSigSegv.class +%{_datadir}/java/willcrash/willremoteloader.jar +%{_datadir}/java/willcrash/willsuppressed.jar +%{_datadir}/java/willcrash/willuncaught.jar %{_datadir}/will-crash/* -%{_libdir}/libwillcrash.so* -# Java runtime requires unversioned library -%{_libdir}/libwilljavasegfault.so* +%{_libdir}/libwillcrash.so +%{_libdir}/libwilljavasegfault.so %{ruby_vendorlibdir}/will_crash.rb %changelog +* Thu Feb 20 2020 Ernestas Kulik - 0.13-1 +- new upstream release: 0.13 + * Fri Jan 31 2020 Fedora Release Engineering - 0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 2a7d32aec48b7c63c0a7f4e9f5651a728b2247a3 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Thu, 20 Feb 2020 13:29:06 +0100 Subject: [PATCH 02/23] [packit] 0.13.1 upstream release Upstream tag: v0.13.1 Upstream commit: 7a126fd0 Signed-off-by: Ernestas Kulik --- .gitignore | 1 + .packit.yml | 27 ++++++++++++++------------- sources | 2 +- will-crash.spec | 5 ++++- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 517be7c..6d8a34b 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /will-crash-0.10.tar.gz /will-crash-v0.12.tar.gz /will-crash-0.13.tar.gz +/will-crash-0.13.1.tar.gz diff --git a/.packit.yml b/.packit.yml index 09deb35..1ffaeab 100644 --- a/.packit.yml +++ b/.packit.yml @@ -1,18 +1,19 @@ -specfile_path: will-crash.spec +specfile_path: 'will-crash.spec' synced_files: - - .packit.yml - - will-crash.spec -upstream_package_name: will-crash -upstream_project_url: https://github.com/abrt/will-crash -downstream_package_name: will-crash + - '.packit.yml' + - 'will-crash.spec' +upstream_package_name: 'will-crash' +upstream_project_url: 'https://github.com/abrt/will-crash' +upstream_tag_template: 'v{version}' +downstream_package_name: 'will-crash' jobs: -- job: propose_downstream - trigger: release +- job: 'propose_downstream' + trigger: 'release' metadata: - dist-git-branch: fedora-all -- job: copr_build - trigger: pull_request + dist-git-branch: 'fedora-all' +- job: 'copr_build' + trigger: 'pull_request' metadata: targets: - - epel-8 - - fedora-all + - 'epel-8' + - 'fedora-all' diff --git a/sources b/sources index 1c5fb5f..4658521 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (will-crash-0.13.tar.gz) = 5e14a1782709fc5466bf5e4fbbe508b61717378fffe7184af7e328ee209d0b22a1536eba7d9c97b6c617dd2dde588ba962badb6fc84038107f20b22b79d7215d +SHA512 (will-crash-0.13.1.tar.gz) = 05166db3617573a05386af2db3ee6a7cbdaff28f3eae046b31d7e49b29abceb2b725e8164b30f8d468b23529d4efc62a1fee5661ce05780b8dc73d599ea53ca5 diff --git a/will-crash.spec b/will-crash.spec index d4934cc..6b60e0c 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -3,7 +3,7 @@ %global _hardened_build 1 Name: will-crash -Version: 0.13 +Version: 0.13.1 Release: 1%{?dist} Summary: Set of crashing executables written in various languages @@ -71,6 +71,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Thu Feb 20 2020 Ernestas Kulik - 0.13.1-1 +- new upstream release: 0.13.1 + * Thu Feb 20 2020 Ernestas Kulik - 0.13-1 - new upstream release: 0.13 From 52fbb40e26b9ec846104d3f01bdd65964da981d0 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Thu, 20 Feb 2020 13:35:20 +0100 Subject: [PATCH 03/23] [packit] 0.13.1 upstream release Upstream tag: v0.13.1 Upstream commit: 3b9ee9b7 Signed-off-by: Ernestas Kulik --- will-crash.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/will-crash.spec b/will-crash.spec index 6b60e0c..4193862 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -66,14 +66,17 @@ like ABRT. %{_datadir}/java/willcrash/willsuppressed.jar %{_datadir}/java/willcrash/willuncaught.jar %{_datadir}/will-crash/* -%{_libdir}/libwillcrash.so -%{_libdir}/libwilljavasegfault.so +%{_libdir}/libwillcrash.so* +%{_libdir}/libwilljavasegfault.so* %{ruby_vendorlibdir}/will_crash.rb %changelog * Thu Feb 20 2020 Ernestas Kulik - 0.13.1-1 - new upstream release: 0.13.1 +* Thu Feb 20 2020 Ernestas Kulik - 0.13.1-1 +- new upstream release: 0.13.1 + * Thu Feb 20 2020 Ernestas Kulik - 0.13-1 - new upstream release: 0.13 From 4fa2a2b654cbb990f173b5e5d79085f02d9e7d5c Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Fri, 21 Feb 2020 09:26:32 +0100 Subject: [PATCH 04/23] [packit] 0.13.2 upstream release Upstream tag: v0.13.2 Upstream commit: bda2dc05 Signed-off-by: Ernestas Kulik --- .gitignore | 1 + sources | 2 +- will-crash.spec | 11 +++++++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6d8a34b..df17d6f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /will-crash-v0.12.tar.gz /will-crash-0.13.tar.gz /will-crash-0.13.1.tar.gz +/will-crash-0.13.2.tar.gz diff --git a/sources b/sources index 4658521..909a528 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (will-crash-0.13.1.tar.gz) = 05166db3617573a05386af2db3ee6a7cbdaff28f3eae046b31d7e49b29abceb2b725e8164b30f8d468b23529d4efc62a1fee5661ce05780b8dc73d599ea53ca5 +SHA512 (will-crash-0.13.2.tar.gz) = 804da4c60d760132eb4bf0b15a6715118c7bfd98e5f53d3c1faaa43f7b945079cef40fdd3825c8a41a6e845d404dee80b1de6e98446930b9fabca6197257bfca diff --git a/will-crash.spec b/will-crash.spec index 4193862..5408adf 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -3,7 +3,7 @@ %global _hardened_build 1 Name: will-crash -Version: 0.13.1 +Version: 0.13.2 Release: 1%{?dist} Summary: Set of crashing executables written in various languages @@ -66,11 +66,18 @@ like ABRT. %{_datadir}/java/willcrash/willsuppressed.jar %{_datadir}/java/willcrash/willuncaught.jar %{_datadir}/will-crash/* -%{_libdir}/libwillcrash.so* +%{_libdir}/%{name}/libwillcrash.so +# There’s no way to set the rpath in Java, so it will either look in whatever +# path it does or we have to use System.load(), which takes a path to a library, +# but then you need to guess the extension, which is not portable (though doesn’t +# matter here per se, it’s still not desirable to write hacks). %{_libdir}/libwilljavasegfault.so* %{ruby_vendorlibdir}/will_crash.rb %changelog +* Fri Feb 21 2020 Ernestas Kulik - 0.13.2-1 +- new upstream release: 0.13.2 + * Thu Feb 20 2020 Ernestas Kulik - 0.13.1-1 - new upstream release: 0.13.1 From 788c36b9acc77c4c55e1eb87e63843afc2ba3cb6 Mon Sep 17 00:00:00 2001 From: Jiri Date: Sat, 11 Jul 2020 08:22:00 +0200 Subject: [PATCH 05/23] Rebuilt for JDK-11 --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 5408adf..3356333 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -4,7 +4,7 @@ Name: will-crash Version: 0.13.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -75,6 +75,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Sat Jul 11 2020 Jiri Vanek - 0.13.2-2 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + * Fri Feb 21 2020 Ernestas Kulik - 0.13.2-1 - new upstream release: 0.13.2 From 3c7a1a3ffb4787aab8cdb005e61c646d1e7244a0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 14:09:28 +0000 Subject: [PATCH 06/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 3356333..3418123 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -4,7 +4,7 @@ Name: will-crash Version: 0.13.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -75,6 +75,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.13.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sat Jul 11 2020 Jiri Vanek - 0.13.2-2 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 From 622157f4ff5ede761a5550d971fd1e25b0b47c3d Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Tue, 1 Dec 2020 17:04:31 +0100 Subject: [PATCH 07/23] New upstream release 0.13.3 Signed-off-by: Michal Fabik --- .gitignore | 1 + sources | 2 +- will-crash.spec | 18 ++++++++++++------ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index df17d6f..c3032d0 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /will-crash-0.13.tar.gz /will-crash-0.13.1.tar.gz /will-crash-0.13.2.tar.gz +/will-crash-0.13.3.tar.gz diff --git a/sources b/sources index 909a528..36fdee3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (will-crash-0.13.2.tar.gz) = 804da4c60d760132eb4bf0b15a6715118c7bfd98e5f53d3c1faaa43f7b945079cef40fdd3825c8a41a6e845d404dee80b1de6e98446930b9fabca6197257bfca +SHA512 (will-crash-0.13.3.tar.gz) = f4fcfd96a2b697b65f2850788478970b5883940049bb3dd0c8cdc108d38d0a998e7e8747aa7fe50da4355d6f0f2bd7e058d468c2cda1eb3ee8b6b7c5bb87cda7 diff --git a/will-crash.spec b/will-crash.spec index 3418123..ed6a9d6 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -3,25 +3,24 @@ %global _hardened_build 1 Name: will-crash -Version: 0.13.2 -Release: 3%{?dist} +Version: 0.13.3 +Release: 1%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools License: GPLv3 URL: https://github.com/abrt/will-crash -Source0: https://github.com/abrt/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: java-devel BuildRequires: javapackages-tools -BuildRequires: libtool -BuildRequires: meson +BuildRequires: meson >= 0.50.0 BuildRequires: gcc-c++ BuildRequires: ruby-devel Requires: java-headless >= 1.7.0.0 Requires: javapackages-tools -Requires: perl +Requires: perl-interpreter Requires: python3 Requires: ruby @@ -66,6 +65,7 @@ like ABRT. %{_datadir}/java/willcrash/willsuppressed.jar %{_datadir}/java/willcrash/willuncaught.jar %{_datadir}/will-crash/* +%dir %{_libdir}/%{name} %{_libdir}/%{name}/libwillcrash.so # There’s no way to set the rpath in Java, so it will either look in whatever # path it does or we have to use System.load(), which takes a path to a library, @@ -75,6 +75,12 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Tue Dec 01 2020 Michal Fabik - 0.13.3-1 +- will_stackoverflow: Disable optimizations +- Drop libtool dependency +- Fix KMODSRC substitution +- Require perl-interpreter + * Wed Jul 29 2020 Fedora Release Engineering - 0.13.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From a0b387d16a2d15c9db0b7f1e7551a3393728b682 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Tue, 1 Dec 2020 18:13:33 +0100 Subject: [PATCH 08/23] spec: Correct Source0 Signed-off-by: Michal Fabik --- will-crash.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/will-crash.spec b/will-crash.spec index ed6a9d6..09be72a 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -4,13 +4,13 @@ Name: will-crash Version: 0.13.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools License: GPLv3 URL: https://github.com/abrt/will-crash -Source0: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/abrt/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: java-devel BuildRequires: javapackages-tools @@ -75,6 +75,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Tue Dec 01 2020 Michal Fabik - 0.13.3-2 +- spec: Correct Source0 + * Tue Dec 01 2020 Michal Fabik - 0.13.3-1 - will_stackoverflow: Disable optimizations - Drop libtool dependency From 86468d577e851a893b9557c9f309a1f147c63eaa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 23:30:36 +0000 Subject: [PATCH 09/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 09be72a..74b2b95 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -4,7 +4,7 @@ Name: will-crash Version: 0.13.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -75,6 +75,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.13.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Dec 01 2020 Michal Fabik - 0.13.3-2 - spec: Correct Source0 From 9fc6ae773148bacb86f74e32a4cbf0b5ea8060c1 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 5 Mar 2021 13:09:54 +0100 Subject: [PATCH 10/23] gating: Add gating.yaml --- gating.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..de03204 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,20 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} + +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} + From 41a661ad338e0956e0f1e4810f9bf8139bfcc348 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Fri, 5 Mar 2021 13:34:44 +0100 Subject: [PATCH 11/23] Add simple smoke test Build a minimal program using a library provided aby will-crash --- .fmf/version | 1 + gating.yaml | 2 ++ tests/smoke.fmf | 6 ++++++ tests/smoke.sh | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 .fmf/version create mode 100644 tests/smoke.fmf create mode 100755 tests/smoke.sh diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml index de03204..9ca798d 100644 --- a/gating.yaml +++ b/gating.yaml @@ -7,6 +7,7 @@ rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} --- !Policy product_versions: @@ -17,4 +18,5 @@ rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/tests/smoke.fmf b/tests/smoke.fmf new file mode 100644 index 0000000..3ae3462 --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,6 @@ +summary: Basic smoke test for will-crash +require: gcc +execute: + script: | + tests/smoke.sh + will_abort; [ $? -eq 134 ] diff --git a/tests/smoke.sh b/tests/smoke.sh new file mode 100755 index 0000000..bd315e9 --- /dev/null +++ b/tests/smoke.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash +echo "void *c(){} int main(){call_me_back(c, NULL);}" | /usr/bin/gcc -include stddef.h -l:/will-crash/libwillcrash.so -x c -Wno-implicit-function-declaration - +rm -f a.out From 55b47a6633d41c7d587cb4d00c186732d010f0d3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:57:30 +0000 Subject: [PATCH 12/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 74b2b95..5e8820e 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -4,7 +4,7 @@ Name: will-crash Version: 0.13.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -75,6 +75,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.13.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 0.13.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 3e404504890efbe1500d9f661bd4af49f9804202 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 04:28:58 +0000 Subject: [PATCH 13/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 5e8820e..9c6a36d 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -4,7 +4,7 @@ Name: will-crash Version: 0.13.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -75,6 +75,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.13.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.13.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From d0c0f8d6f79095a07b01d692ebf7615611f68215 Mon Sep 17 00:00:00 2001 From: Jiri Date: Sun, 6 Feb 2022 00:37:48 +0100 Subject: [PATCH 14/23] Rebuilt for java-17-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java17 --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 9c6a36d..182f22f 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -4,7 +4,7 @@ Name: will-crash Version: 0.13.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -75,6 +75,9 @@ like ABRT. %{ruby_vendorlibdir}/will_crash.rb %changelog +* Sat Feb 05 2022 Jiri Vanek - 0.13.3-6 +- Rebuilt for java-17-openjdk as system jdk + * Sat Jan 22 2022 Fedora Release Engineering - 0.13.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 79ed9d234f079d2c32e3af4819719f8db90fd512 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 15 Jul 2022 12:45:33 +0000 Subject: [PATCH 15/23] [packit] 0.13.5 upstream release Upstream tag: v0.13.5 Upstream commit: 925d2a52 Signed-off-by: Packit --- .gitignore | 1 + README.packit | 2 +- sources | 2 +- will-crash.spec | 37 ++++++++++++++++++++++++++++++++----- 4 files changed, 35 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index c3032d0..d646080 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /will-crash-0.13.1.tar.gz /will-crash-0.13.2.tar.gz /will-crash-0.13.3.tar.gz +/will-crash-0.13.5.tar.gz diff --git a/README.packit b/README.packit index 19936d7..041ac90 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.8.1. +The file was generated using packit 0.54.1.dev2+g26d336d. diff --git a/sources b/sources index 36fdee3..7a938d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (will-crash-0.13.3.tar.gz) = f4fcfd96a2b697b65f2850788478970b5883940049bb3dd0c8cdc108d38d0a998e7e8747aa7fe50da4355d6f0f2bd7e058d468c2cda1eb3ee8b6b7c5bb87cda7 +SHA512 (will-crash-0.13.5.tar.gz) = 72034b2b5392ec8958725ea87232abfa922d323af8cd1db5a6da4830cfd0d6e6feda686f09043c85133caff1ba7c72430ff0ab839e6b329ace534ab0413fb2b4 diff --git a/will-crash.spec b/will-crash.spec index 182f22f..bc657e2 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -2,9 +2,15 @@ # http://fedoraproject.org/wiki/Hardened_Packages %global _hardened_build 1 +%ifarch %{java_arches} +%global JAVA 1 +%else +%global JAVA 0 +%endif + Name: will-crash -Version: 0.13.3 -Release: 6%{?dist} +Version: 0.13.5 +Release: 1%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -12,17 +18,22 @@ License: GPLv3 URL: https://github.com/abrt/will-crash Source0: https://github.com/abrt/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz +%if %{JAVA} BuildRequires: java-devel BuildRequires: javapackages-tools +%endif BuildRequires: meson >= 0.50.0 BuildRequires: gcc-c++ BuildRequires: ruby-devel +%if %{JAVA} Requires: java-headless >= 1.7.0.0 Requires: javapackages-tools +%endif Requires: perl-interpreter Requires: python3 Requires: ruby +Recommends: kernel-devel %description The main purpose of this project is to provide sample @@ -33,10 +44,18 @@ like ABRT. %setup -q %build +%if %{JAVA} %meson \ -Djavadir=%{_javadir} \ -D_java_home=%{java_home} \ %{nil} +%else +mv meson.build-nojava meson.build +mv src/meson.build-nojava src/meson.build +rm meson_options.txt +%meson \ + %{nil} +%endif %meson_build %install @@ -53,17 +72,19 @@ like ABRT. %{_bindir}/will_python3_sigsegv %{_bindir}/will_python3_raise %{_bindir}/will_ruby_raise +%{_bindir}/will_cpp_segfault +%{_bindir}/will_stackoverflow +%{_bindir}/will_oops +%if %{JAVA} %{_bindir}/will_java_segfault %{_bindir}/will_java_throw %{_bindir}/will_java_throw_remote %{_bindir}/will_java_throw_suppressed -%{_bindir}/will_cpp_segfault -%{_bindir}/will_stackoverflow -%{_bindir}/will_oops %{_datadir}/java/WillRaiseSigSegv.class %{_datadir}/java/willcrash/willremoteloader.jar %{_datadir}/java/willcrash/willsuppressed.jar %{_datadir}/java/willcrash/willuncaught.jar +%endif %{_datadir}/will-crash/* %dir %{_libdir}/%{name} %{_libdir}/%{name}/libwillcrash.so @@ -71,10 +92,16 @@ like ABRT. # path it does or we have to use System.load(), which takes a path to a library, # but then you need to guess the extension, which is not portable (though doesn’t # matter here per se, it’s still not desirable to write hacks). +%if %{JAVA} %{_libdir}/libwilljavasegfault.so* +%endif %{ruby_vendorlibdir}/will_crash.rb %changelog +* Fri Jul 15 2022 Packit - 0.13.5-1 +- Release version 0.13.5-1 (Michal Fabik) +- spec: Fix source tarball path (Michal Fabik) + * Sat Feb 05 2022 Jiri Vanek - 0.13.3-6 - Rebuilt for java-17-openjdk as system jdk From aee5c652dd027a94f9f336f006b310a5fdd6d489 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Mon, 18 Jul 2022 12:53:39 +0200 Subject: [PATCH 16/23] gating: Fix smoke test Crashing with SIGABRT is correct behaviour for will_abort. Don't fail the smoke test when this happens. --- tests/smoke.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/smoke.fmf b/tests/smoke.fmf index 3ae3462..4237b0b 100644 --- a/tests/smoke.fmf +++ b/tests/smoke.fmf @@ -3,4 +3,4 @@ require: gcc execute: script: | tests/smoke.sh - will_abort; [ $? -eq 134 ] + will_abort || [ $? -eq 134 ] From a471274f8aff9ab803628bdc0fefb3798991eacc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 12:26:11 +0000 Subject: [PATCH 17/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index bc657e2..88e62aa 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -10,7 +10,7 @@ Name: will-crash Version: 0.13.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -98,6 +98,9 @@ rm meson_options.txt %{ruby_vendorlibdir}/will_crash.rb %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.13.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jul 15 2022 Packit - 0.13.5-1 - Release version 0.13.5-1 (Michal Fabik) - spec: Fix source tarball path (Michal Fabik) From 31b44606d1a0c4322752155d83992ff1e25b19ef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:50:21 +0000 Subject: [PATCH 18/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 88e62aa..a4f71c8 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -10,7 +10,7 @@ Name: will-crash Version: 0.13.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -98,6 +98,9 @@ rm meson_options.txt %{ruby_vendorlibdir}/will_crash.rb %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.13.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.13.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From fbe0a18f2c0763bf8ff7d1780e93ab8c98501bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 2 Feb 2023 16:16:30 +0100 Subject: [PATCH 19/23] Use SPDX format for license field See [the wiki][1] for details. [1]: https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1 --- will-crash.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index a4f71c8..df9f4cd 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -14,7 +14,7 @@ Release: 3%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools -License: GPLv3 +License: GPL-3.0-only URL: https://github.com/abrt/will-crash Source0: https://github.com/abrt/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz From 9a0bff7db94a87e089b6e00ae01d2aace41d68d1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 18:13:31 +0000 Subject: [PATCH 20/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index df9f4cd..94ae860 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -10,7 +10,7 @@ Name: will-crash Version: 0.13.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -98,6 +98,9 @@ rm meson_options.txt %{ruby_vendorlibdir}/will_crash.rb %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.13.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 0.13.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From fa28de3810ac59bbc2bf7898ae4e531e344781d1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 08:50:01 +0000 Subject: [PATCH 21/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index 94ae860..f10d37e 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -10,7 +10,7 @@ Name: will-crash Version: 0.13.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -98,6 +98,9 @@ rm meson_options.txt %{ruby_vendorlibdir}/will_crash.rb %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.13.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 0.13.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 3c406942d159ad0731bc6ac78518e01ea96481c8 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 27 Feb 2024 18:29:43 +0100 Subject: [PATCH 22/23] Rebuilt for java-21-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java21 --- will-crash.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/will-crash.spec b/will-crash.spec index f10d37e..3e3c8e5 100644 --- a/will-crash.spec +++ b/will-crash.spec @@ -10,7 +10,7 @@ Name: will-crash Version: 0.13.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Set of crashing executables written in various languages Group: Development/Tools @@ -98,6 +98,9 @@ rm meson_options.txt %{ruby_vendorlibdir}/will_crash.rb %changelog +* Tue Feb 27 2024 Jiri Vanek - 0.13.5-6 +- Rebuilt for java-21-openjdk as system jdk + * Sat Jan 27 2024 Fedora Release Engineering - 0.13.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From ba47edf85280149d48083d3ddcb695a5587d8270 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Mon, 1 Jul 2024 12:20:56 -0500 Subject: [PATCH 23/23] Orphaned for 6+ weeks --- .fmf/version | 1 - .gitignore | 16 --- .packit.yml | 19 ---- README.packit | 3 - dead.package | 1 + gating.yaml | 22 ---- sources | 1 - tests/smoke.fmf | 6 -- tests/smoke.sh | 3 - will-crash.spec | 269 ------------------------------------------------ 10 files changed, 1 insertion(+), 340 deletions(-) delete mode 100644 .fmf/version delete mode 100644 .gitignore delete mode 100644 .packit.yml delete mode 100644 README.packit create mode 100644 dead.package delete mode 100644 gating.yaml delete mode 100644 sources delete mode 100644 tests/smoke.fmf delete mode 100755 tests/smoke.sh delete mode 100644 will-crash.spec diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d646080..0000000 --- a/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -/will-crash-v0.2.tar.gz -/will-crash-v0.3.tar.gz -/will-crash-0.4.tar.gz -/will-crash-0.5.tar.gz -/will-crash-0.6.tar -/will-crash-0.6.tar.gz -/will-crash-0.7.tar.gz -/will-crash-0.8.tar.gz -/will-crash-0.9.tar.gz -/will-crash-0.10.tar.gz -/will-crash-v0.12.tar.gz -/will-crash-0.13.tar.gz -/will-crash-0.13.1.tar.gz -/will-crash-0.13.2.tar.gz -/will-crash-0.13.3.tar.gz -/will-crash-0.13.5.tar.gz diff --git a/.packit.yml b/.packit.yml deleted file mode 100644 index 1ffaeab..0000000 --- a/.packit.yml +++ /dev/null @@ -1,19 +0,0 @@ -specfile_path: 'will-crash.spec' -synced_files: - - '.packit.yml' - - 'will-crash.spec' -upstream_package_name: 'will-crash' -upstream_project_url: 'https://github.com/abrt/will-crash' -upstream_tag_template: 'v{version}' -downstream_package_name: 'will-crash' -jobs: -- job: 'propose_downstream' - trigger: 'release' - metadata: - dist-git-branch: 'fedora-all' -- job: 'copr_build' - trigger: 'pull_request' - metadata: - targets: - - 'epel-8' - - 'fedora-all' diff --git a/README.packit b/README.packit deleted file mode 100644 index 041ac90..0000000 --- a/README.packit +++ /dev/null @@ -1,3 +0,0 @@ -This repository is maintained by packit. -https://packit.dev/ -The file was generated using packit 0.54.1.dev2+g26d336d. diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 9ca798d..0000000 --- a/gating.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_testing -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - diff --git a/sources b/sources deleted file mode 100644 index 7a938d7..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (will-crash-0.13.5.tar.gz) = 72034b2b5392ec8958725ea87232abfa922d323af8cd1db5a6da4830cfd0d6e6feda686f09043c85133caff1ba7c72430ff0ab839e6b329ace534ab0413fb2b4 diff --git a/tests/smoke.fmf b/tests/smoke.fmf deleted file mode 100644 index 4237b0b..0000000 --- a/tests/smoke.fmf +++ /dev/null @@ -1,6 +0,0 @@ -summary: Basic smoke test for will-crash -require: gcc -execute: - script: | - tests/smoke.sh - will_abort || [ $? -eq 134 ] diff --git a/tests/smoke.sh b/tests/smoke.sh deleted file mode 100755 index bd315e9..0000000 --- a/tests/smoke.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/bash -echo "void *c(){} int main(){call_me_back(c, NULL);}" | /usr/bin/gcc -include stddef.h -l:/will-crash/libwillcrash.so -x c -Wno-implicit-function-declaration - -rm -f a.out diff --git a/will-crash.spec b/will-crash.spec deleted file mode 100644 index 3e3c8e5..0000000 --- a/will-crash.spec +++ /dev/null @@ -1,269 +0,0 @@ -# http://fedoraproject.org/wiki/Packaging:Guidelines#PIE -# http://fedoraproject.org/wiki/Hardened_Packages -%global _hardened_build 1 - -%ifarch %{java_arches} -%global JAVA 1 -%else -%global JAVA 0 -%endif - -Name: will-crash -Version: 0.13.5 -Release: 6%{?dist} -Summary: Set of crashing executables written in various languages - -Group: Development/Tools -License: GPL-3.0-only -URL: https://github.com/abrt/will-crash -Source0: https://github.com/abrt/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz - -%if %{JAVA} -BuildRequires: java-devel -BuildRequires: javapackages-tools -%endif -BuildRequires: meson >= 0.50.0 -BuildRequires: gcc-c++ -BuildRequires: ruby-devel - -%if %{JAVA} -Requires: java-headless >= 1.7.0.0 -Requires: javapackages-tools -%endif -Requires: perl-interpreter -Requires: python3 -Requires: ruby -Recommends: kernel-devel - -%description -The main purpose of this project is to provide sample -executables for testing crash/exception handling tools -like ABRT. - -%prep -%setup -q - -%build -%if %{JAVA} -%meson \ - -Djavadir=%{_javadir} \ - -D_java_home=%{java_home} \ - %{nil} -%else -mv meson.build-nojava meson.build -mv src/meson.build-nojava src/meson.build -rm meson_options.txt -%meson \ - %{nil} -%endif -%meson_build - -%install -%meson_install - -%files -%doc README.rst -%doc LICENSE -%{_bindir}/will_segfault -%{_bindir}/will_segfault_in_new_pid -%{_bindir}/will_segfault_threads -%{_bindir}/will_abort -%{_bindir}/will_perl_sigsegv -%{_bindir}/will_python3_sigsegv -%{_bindir}/will_python3_raise -%{_bindir}/will_ruby_raise -%{_bindir}/will_cpp_segfault -%{_bindir}/will_stackoverflow -%{_bindir}/will_oops -%if %{JAVA} -%{_bindir}/will_java_segfault -%{_bindir}/will_java_throw -%{_bindir}/will_java_throw_remote -%{_bindir}/will_java_throw_suppressed -%{_datadir}/java/WillRaiseSigSegv.class -%{_datadir}/java/willcrash/willremoteloader.jar -%{_datadir}/java/willcrash/willsuppressed.jar -%{_datadir}/java/willcrash/willuncaught.jar -%endif -%{_datadir}/will-crash/* -%dir %{_libdir}/%{name} -%{_libdir}/%{name}/libwillcrash.so -# There’s no way to set the rpath in Java, so it will either look in whatever -# path it does or we have to use System.load(), which takes a path to a library, -# but then you need to guess the extension, which is not portable (though doesn’t -# matter here per se, it’s still not desirable to write hacks). -%if %{JAVA} -%{_libdir}/libwilljavasegfault.so* -%endif -%{ruby_vendorlibdir}/will_crash.rb - -%changelog -* Tue Feb 27 2024 Jiri Vanek - 0.13.5-6 -- Rebuilt for java-21-openjdk as system jdk - -* Sat Jan 27 2024 Fedora Release Engineering - 0.13.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 0.13.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 0.13.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 0.13.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jul 15 2022 Packit - 0.13.5-1 -- Release version 0.13.5-1 (Michal Fabik) -- spec: Fix source tarball path (Michal Fabik) - -* Sat Feb 05 2022 Jiri Vanek - 0.13.3-6 -- Rebuilt for java-17-openjdk as system jdk - -* Sat Jan 22 2022 Fedora Release Engineering - 0.13.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.13.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 0.13.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Dec 01 2020 Michal Fabik - 0.13.3-2 -- spec: Correct Source0 - -* Tue Dec 01 2020 Michal Fabik - 0.13.3-1 -- will_stackoverflow: Disable optimizations -- Drop libtool dependency -- Fix KMODSRC substitution -- Require perl-interpreter - -* Wed Jul 29 2020 Fedora Release Engineering - 0.13.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sat Jul 11 2020 Jiri Vanek - 0.13.2-2 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Fri Feb 21 2020 Ernestas Kulik - 0.13.2-1 -- new upstream release: 0.13.2 - -* Thu Feb 20 2020 Ernestas Kulik - 0.13.1-1 -- new upstream release: 0.13.1 - -* Thu Feb 20 2020 Ernestas Kulik - 0.13.1-1 -- new upstream release: 0.13.1 - -* Thu Feb 20 2020 Ernestas Kulik - 0.13-1 -- new upstream release: 0.13 - -* Fri Jan 31 2020 Fedora Release Engineering - 0.12-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 0.12-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Tue Jul 02 2019 Ernestas Kulik - 0.12-1 -- Update upstream URIs -- Enable PIEs -- Remove RHEL 6/7-specific content -- Update to 0.12 - -* Sun Feb 03 2019 Fedora Release Engineering - 0.10-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.10-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Iryna Shcherbina - 0.10-8 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 0.10-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.10-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.10-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.10-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 0.10-3 -- Rebuild for Python 3.6 - -* Fri Feb 05 2016 Fedora Release Engineering - 0.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Aug 13 2015 Richard Marko - 0.10-1 -- Version bump -- fix will_python_sigsegv for s390x -- Make it possible to run will_oops.in multiple times in row -- will_ruby_raise: fancy stacktrace -- Add --help to will_abort - -* Fri Jun 19 2015 Fedora Release Engineering - 0.9-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 0.9-3 -- Rebuilt for GCC 5 C++11 ABI change - -* Mon Nov 24 2014 Richard Marko - 0.9-2 -- fix will_java_throw_suppressed availability on RHEL6 - -* Thu Oct 30 2014 Jakub Filak - 0.9-1 -- port to javapackages-utils - -* Wed Sep 10 2014 Richard Marko - 0.8-1 -- add will_segfault --break-link-map - -* Wed Aug 27 2014 Martin Milata - 0.7-5 -- added will_stackoverflow - -* Mon Aug 18 2014 Richard Marko - 0.7-4 -- support OpenJDK8 - -* Mon Aug 18 2014 Fedora Release Engineering - 0.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Jun 2 2014 Richard Marko - 0.7-1 -- Version bump -- added will_abort --random -- added will_java_throw_remote - -* Tue Jan 14 2014 Richard Marko - 0.6-1 -- Version bump -- added will_cpp_segfault -- reworked will_segfault to produce more stack frames - -* Sun Aug 04 2013 Fedora Release Engineering - 0.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri May 3 2013 Jiri Moskovcak 0.5-1 -- new upstream release - 0.5 -- added will_oops - -* Mon Mar 18 2013 Richard Marko - 0.4-1 -- Version bump, added will_java_segfault - -* Thu Feb 21 2013 Richard Marko - 0.3-1 -- Version bump - -* Fri Feb 15 2013 Fedora Release Engineering - 0.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Jul 25 2012 Richard Marko - 0.2-2 -- Don't require python3 for el6 - -* Wed Jul 25 2012 Richard Marko - 0.2-1 -- Version bump - -* Mon Jul 23 2012 Richard Marko - 0.1-2 -- Added missing automake build requirement - -* Fri Jul 20 2012 Richard Marko - 0.1-1 -- Initial packaging attempt