diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfe18e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +/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.2.tar.gz diff --git a/.packit.yml b/.packit.yml new file mode 100644 index 0000000..1ffaeab --- /dev/null +++ b/.packit.yml @@ -0,0 +1,19 @@ +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 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/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..909a528 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (will-crash-0.13.2.tar.gz) = 804da4c60d760132eb4bf0b15a6715118c7bfd98e5f53d3c1faaa43f7b945079cef40fdd3825c8a41a6e845d404dee80b1de6e98446930b9fabca6197257bfca diff --git a/will-crash.spec b/will-crash.spec new file mode 100644 index 0000000..f94b053 --- /dev/null +++ b/will-crash.spec @@ -0,0 +1,191 @@ +# http://fedoraproject.org/wiki/Packaging:Guidelines#PIE +# http://fedoraproject.org/wiki/Hardened_Packages +%global _hardened_build 1 + +Name: will-crash +Version: 0.13.2 +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 + +BuildRequires: java-devel +BuildRequires: javapackages-tools +BuildRequires: libtool +BuildRequires: meson +BuildRequires: gcc-c++ +BuildRequires: ruby-devel + +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 +executables for testing crash/exception handling tools +like ABRT. + +%prep +%setup -q + +%build +%meson \ + -Djavadir=%{_javadir} \ + -D_java_home=%{java_home} \ + %{nil} +%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_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 +%{_datadir}/will-crash/* +%{_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 +- new upstream release: 0.13 + +* 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