Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
017a8c5784 | ||
|
|
42e2768d1a |
5 changed files with 56 additions and 21 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
19
.packit.yml
Normal file
19
.packit.yml
Normal file
|
|
@ -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'
|
||||
3
README.packit
Normal file
3
README.packit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.8.1.
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (will-crash-v0.12.tar.gz) = 13e2eb1cd33e62a70b8d75a11f2d2f65a49d34848e65ab06150e48a0bf7a6786e3b89b0fcfe303debf030cfccbbb421aedcbfdf7b6dd568c573e9a10ff5bb57b
|
||||
SHA512 (will-crash-0.13.2.tar.gz) = 804da4c60d760132eb4bf0b15a6715118c7bfd98e5f53d3c1faaa43f7b945079cef40fdd3825c8a41a6e845d404dee80b1de6e98446930b9fabca6197257bfca
|
||||
|
|
|
|||
|
|
@ -3,25 +3,27 @@
|
|||
%global _hardened_build 1
|
||||
|
||||
Name: will-crash
|
||||
Version: 0.12
|
||||
Release: 2%{?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 <ekulik@redhat.com> - 0.13.2-1
|
||||
- new upstream release: 0.13.2
|
||||
|
||||
* Thu Feb 20 2020 Ernestas Kulik <ekulik@redhat.com> - 0.13-1
|
||||
- new upstream release: 0.13
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue