diff --git a/.gitignore b/.gitignore index 33574ea..bfe18e8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ /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/sources b/sources index 2cf2b3c..909a528 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (will-crash-v0.12.tar.gz) = 13e2eb1cd33e62a70b8d75a11f2d2f65a49d34848e65ab06150e48a0bf7a6786e3b89b0fcfe303debf030cfccbbb421aedcbfdf7b6dd568c573e9a10ff5bb57b +SHA512 (will-crash-0.13.2.tar.gz) = 804da4c60d760132eb4bf0b15a6715118c7bfd98e5f53d3c1faaa43f7b945079cef40fdd3825c8a41a6e845d404dee80b1de6e98446930b9fabca6197257bfca diff --git a/will-crash.spec b/will-crash.spec index 980e0b5..374a879 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.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}-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,26 @@ 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}/%{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 + * Fri Jan 31 2020 Fedora Release Engineering - 0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild