Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Ernestas Kulik
017a8c5784 [packit] 0.13.2 upstream release
Upstream tag: v0.13.2
Upstream commit: bda2dc05

Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
2020-02-21 09:34:47 +01:00
Ernestas Kulik
42e2768d1a [packit] 0.13 upstream release
Upstream tag: v0.13
Upstream commit: c6aa3974

Signed-off-by: Ernestas Kulik <ekulik@redhat.com>
2020-02-20 10:04:51 +01:00
5 changed files with 56 additions and 21 deletions

2
.gitignore vendored
View file

@ -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
View 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
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.8.1.

View file

@ -1 +1 @@
SHA512 (will-crash-v0.12.tar.gz) = 13e2eb1cd33e62a70b8d75a11f2d2f65a49d34848e65ab06150e48a0bf7a6786e3b89b0fcfe303debf030cfccbbb421aedcbfdf7b6dd568c573e9a10ff5bb57b
SHA512 (will-crash-0.13.2.tar.gz) = 804da4c60d760132eb4bf0b15a6715118c7bfd98e5f53d3c1faaa43f7b945079cef40fdd3825c8a41a6e845d404dee80b1de6e98446930b9fabca6197257bfca

View file

@ -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
# Theres 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 doesnt
# matter here per se, its 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