|
|
50b851 |
%global commit 230b72697c7c43db747b2644b17cb2685d1539de
|
|
|
50b851 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
50b851 |
|
|
|
50b851 |
Name: abrt-java-connector
|
|
|
50b851 |
Version: 1.1.0
|
|
|
50b851 |
Release: 15%{?dist}
|
|
|
50b851 |
Summary: JNI Agent library converting Java exceptions to ABRT problems
|
|
|
50b851 |
|
|
|
50b851 |
Group: System Environment/Libraries
|
|
|
50b851 |
License: GPLv2+
|
|
|
50b851 |
URL: https://github.com/jfilak/abrt-java-connector
|
|
|
50b851 |
Source0: https://github.com/jfilak/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
|
|
50b851 |
|
|
|
50b851 |
BuildRequires: cmake
|
|
|
50b851 |
BuildRequires: satyr-devel
|
|
|
50b851 |
BuildRequires: libreport-devel >= 2.4.0
|
|
|
50b851 |
BuildRequires: abrt-devel
|
|
|
50b851 |
BuildRequires: java-devel
|
|
|
50b851 |
BuildRequires: systemd-devel
|
|
|
50b851 |
BuildRequires: gettext
|
|
|
50b851 |
BuildRequires: check-devel
|
|
|
50b851 |
BuildRequires: rpm-devel
|
|
|
50b851 |
BuildRequires: git
|
|
|
50b851 |
|
|
|
50b851 |
Requires: abrt
|
|
|
50b851 |
|
|
|
50b851 |
# git format-patch 416db946329b043a58acf557f0525361a97e1da1 -N
|
|
|
50b851 |
Patch0001: 0001-Decrease-the-tested-memory-limits-because-of-failure.patch
|
|
|
50b851 |
Patch0002: 0002-Adapt-the-arm-test-outputs-to-java-1.8.patch
|
|
|
50b851 |
Patch0003: 0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch
|
|
|
50b851 |
Patch0004: 0004-Update-Linux-aarch64-test-outputs.patch
|
|
|
50b851 |
Patch0005: 0005-Update-the-test-results.patch
|
|
|
50b851 |
Patch0006: 0006-Make-the-dependency-on-systemd-optional.patch
|
|
|
50b851 |
Patch0007: 0007-Update-README.patch
|
|
|
50b851 |
Patch0008: 0008-Remove-function-malloc_readlink.patch
|
|
|
50b851 |
Patch0009: 0009-Makefile-Adds-srpm-target.patch
|
|
|
50b851 |
Patch0010: 0010-Update-the-test-results.patch
|
|
|
50b851 |
Patch0011: 0011-Clearly-state-that-tests-cannot-be-run-under-root.patch
|
|
|
50b851 |
Patch0012: 0012-Disable-ClassNotFoundException-test-again.patch
|
|
|
50b851 |
Patch0013: 0013-Correct-includes-for-ABRT.patch
|
|
|
50b851 |
Patch0014: 0014-Drop-pedantic-from-CFLAGS.patch
|
|
|
50b851 |
Patch0015: 0015-Rename-log-to-log_warning.patch
|
|
|
50b851 |
Patch0016: 0016-Update-the-test-results.patch
|
|
|
50b851 |
|
|
|
50b851 |
%description
|
|
|
50b851 |
JNI library providing an agent capable to process both caught and uncaught
|
|
|
50b851 |
exceptions and transform them to ABRT problems
|
|
|
50b851 |
|
|
|
50b851 |
|
|
|
50b851 |
%prep
|
|
|
50b851 |
# http://www.rpm.org/wiki/PackagerDocs/Autosetup
|
|
|
50b851 |
# Default '__scm_apply_git' is 'git apply && git commit' but this workflow
|
|
|
50b851 |
# doesn't allow us to create a new file within a patch, so we have to use
|
|
|
50b851 |
# 'git am' (see /usr/lib/rpm/macros for more details)
|
|
|
50b851 |
%define __scm_apply_git(qp:m:) %{__git} am
|
|
|
50b851 |
%autosetup -n %{name}-%{commit} -S git
|
|
|
50b851 |
|
|
|
50b851 |
|
|
|
50b851 |
%build
|
|
|
50b851 |
%cmake -DCMAKE_BUILD_TYPE=Release
|
|
|
50b851 |
make %{?_smp_mflags}
|
|
|
50b851 |
|
|
|
50b851 |
|
|
|
50b851 |
%install
|
|
|
50b851 |
make install DESTDIR=%{buildroot}
|
|
|
50b851 |
|
|
|
50b851 |
%files
|
|
|
50b851 |
%doc LICENSE README AUTHORS
|
|
|
50b851 |
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_java.conf
|
|
|
50b851 |
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_java.conf
|
|
|
50b851 |
%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event.conf
|
|
|
50b851 |
%config(noreplace) %{_sysconfdir}/abrt/plugins/java.conf
|
|
|
50b851 |
%{_bindir}/abrt-action-analyze-java
|
|
|
50b851 |
%{_mandir}/man1/abrt-action-analyze-java.1*
|
|
|
50b851 |
%{_mandir}/man5/java_event.conf.5*
|
|
|
50b851 |
%{_mandir}/man5/bugzilla_format_java.conf.5*
|
|
|
50b851 |
%{_mandir}/man5/bugzilla_formatdup_java.conf.5*
|
|
|
50b851 |
%{_datadir}/abrt/conf.d/plugins/java.conf
|
|
|
50b851 |
|
|
|
50b851 |
# Applications may use a single subdirectory under/usr/lib.
|
|
|
50b851 |
# http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE22
|
|
|
50b851 |
#
|
|
|
50b851 |
# Java does not support multilib.
|
|
|
50b851 |
# https://fedorahosted.org/fesco/ticket/961
|
|
|
50b851 |
%{_prefix}/lib/abrt-java-connector
|
|
|
50b851 |
|
|
|
50b851 |
|
|
|
50b851 |
%check
|
|
|
50b851 |
make test || {
|
|
|
50b851 |
cat Testing/Temporary/LastTest.log
|
|
|
50b851 |
exit 1
|
|
|
50b851 |
}
|
|
|
50b851 |
|
|
|
50b851 |
|
|
|
50b851 |
%changelog
|
|
|
50b851 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Sep 11 2017 Matej Habrnal <mhabrnal@redhat.com> - 1.1.0-14
|
|
|
50b851 |
- turn on unit testing and fix test outputs
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Aug 28 2017 Matej Habrnal <mhabrnal@redhat.com> - 1.1.0-13
|
|
|
50b851 |
- Rename log() to log_warning()
|
|
|
50b851 |
- Update the test results
|
|
|
50b851 |
- Resolves: #1484585
|
|
|
50b851 |
|
|
|
50b851 |
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.0-12
|
|
|
50b851 |
- Rebuilt for RPM soname bump
|
|
|
50b851 |
|
|
|
50b851 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Feb 15 2016 Jakub Filak <jfilak@redhat.com> - 1.1.0-8
|
|
|
50b851 |
- Drop '-pedantic' from CFLAGS
|
|
|
50b851 |
- Correct includes for ABRT
|
|
|
50b851 |
- Resolves: #1307305
|
|
|
50b851 |
|
|
|
50b851 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Jul 28 2015 Jakub Filak <jfilak@redhat.com> - 1.1.0-6
|
|
|
50b851 |
- Rebuilt for new rpmlib : https://lists.fedoraproject.org/pipermail/devel/2015-July/212672.html
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Mar 16 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.1.0-4
|
|
|
50b851 |
- Make the dependency on systemd optional
|
|
|
50b851 |
- Update the test results
|
|
|
50b851 |
- Resolves: #1185626
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Nov 04 2014 Jakub Filak <jfilak@redhat.com> - 1.1.0-3
|
|
|
50b851 |
- Update the test results for armv7l
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Nov 04 2014 Jakub Filak <jfilak@redhat.com> - 1.1.0-2
|
|
|
50b851 |
- Update the test results for aarch64
|
|
|
50b851 |
|
|
|
50b851 |
* Wed Oct 29 2014 Jakub Filak <jfilak@redhat.com> - 1.1.0-1
|
|
|
50b851 |
- Support java-1.8-openjdk
|
|
|
50b851 |
- Install the library to /usr/lib/abrt-java-connector on all arches
|
|
|
50b851 |
|
|
|
50b851 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-4
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-3
|
|
|
50b851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
50b851 |
|
|
|
50b851 |
* Fri May 9 2014 Jakub Filak <jfilak@redhat.com> - 1.0.10-2
|
|
|
50b851 |
- Add test results for Linux-ppc64le
|
|
|
50b851 |
- Related: #981682
|
|
|
50b851 |
|
|
|
50b851 |
* Fri Apr 4 2014 Jakub Filak <jfilak@redhat.com> - 1.0.10-1
|
|
|
50b851 |
- Temporarily ignore failures of reporter-ureport until ABRT start using FAF2
|
|
|
50b851 |
- Prevent users from reporting low quality stack traces
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Mar 18 2014 Jakub Filak <jfilak@redhat.com> - 1.0.9-1
|
|
|
50b851 |
- Make the agent configurable via a configuration file
|
|
|
50b851 |
- Include custom debug info in bug reports
|
|
|
50b851 |
- Make the detection of 'executable' working with JAR files
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Feb 04 2014 Jakub Filak <jfilak@redhat.com> - 1.0.8-3
|
|
|
50b851 |
- Return the correct value from Agent_OnLoad
|
|
|
50b851 |
- Add test for multiple calls of Agent_On*
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Feb 04 2014 Jakub Filak <jfilak@redhat.com> - 1.0.8-2
|
|
|
50b851 |
- Make sure that agent_onload and agent_onunload are processed only once
|
|
|
50b851 |
- Fix a pair of defects uncovered by coverity
|
|
|
50b851 |
|
|
|
50b851 |
* Wed Jan 22 2014 Jakub Filak <jfilak@redhat.com> - 1.0.8-1
|
|
|
50b851 |
- Do not report exceptions caught in a native method
|
|
|
50b851 |
- Mark stack traces with 3rd party classes as not-reportable
|
|
|
50b851 |
- Calculate 'duphash' & 'uuid' in satyr
|
|
|
50b851 |
- Use the main class URL for 'executable'
|
|
|
50b851 |
- Do not ship own reporting workflow definitions
|
|
|
50b851 |
- Code optimizations
|
|
|
50b851 |
|
|
|
50b851 |
* Fri Jan 10 2014 Jakub Filak <jfilak@redhat.com> - 1.0.7-1
|
|
|
50b851 |
- Use the last frame class path for executable
|
|
|
50b851 |
- Gracefully handle JVMTI errors
|
|
|
50b851 |
- Add an abstract to README
|
|
|
50b851 |
- Add support for journald and syslog
|
|
|
50b851 |
- Make log output disabled by default
|
|
|
50b851 |
- Add support for changing log directory
|
|
|
50b851 |
- Fix a race condition causing a crash of JVM
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Oct 01 2013 Jakub Filak <jfilak@redhat.com> - 1.0.6-1
|
|
|
50b851 |
- Fix a deadlock in GC start callback
|
|
|
50b851 |
- Disable experimental features in production releases
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Jul 30 2013 Jakub Filak <jfilak@redhat.com> - 1.0.5-1
|
|
|
50b851 |
- Provide a proper configuration for libreport
|
|
|
50b851 |
|
|
|
50b851 |
* Thu Jul 18 2013 Jakub Filak <jfilak@redhat.com> - 1.0.4-1
|
|
|
50b851 |
- Stop creating an empty log file
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Jul 16 2013 Jakub Filak <jfilak@redhat.com> - 1.0.3-1
|
|
|
50b851 |
- Fix tests on arm
|
|
|
50b851 |
|
|
|
50b851 |
* Tue Jul 09 2013 Jakub Filak <jfilak@redhat.com> - 1.0.2-1
|
|
|
50b851 |
- Do not crash on empty command line options
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Jul 08 2013 Jakub Filak <jfilak@redhat.com> - 1.0.1-1
|
|
|
50b851 |
- Fix tests on ppc and s390 on both 32 and 64 bit
|
|
|
50b851 |
|
|
|
50b851 |
* Thu Jun 27 2013 Jakub Filak <jfilak@redhat.com> - 1.0.0-1
|
|
|
50b851 |
- Publicly releasable version
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Jun 03 2013 Jakub Filak <jfilak@redhat.com> - 0.1.2-1
|
|
|
50b851 |
- Start versioning library
|
|
|
50b851 |
- Drop build dependency on abrt-devel
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Jun 03 2013 Jakub Filak <jfilak@redhat.com> - 0.1.1-2
|
|
|
50b851 |
- Provide ABRT configuration
|
|
|
50b851 |
|
|
|
50b851 |
* Mon Jun 03 2013 Jakub Filak <jfilak@redhat.com> - 0.1.1-1
|
|
|
50b851 |
- New release
|
|
|
50b851 |
|
|
|
50b851 |
* Fri May 31 2013 Jakub Filak <jfilak@redhat.com> - 0.1.0-3
|
|
|
50b851 |
- Build with the library name same as the package name
|
|
|
50b851 |
|
|
|
50b851 |
* Fri May 31 2013 Jakub Filak <jfilak@redhat.com> - 0.1.0-2
|
|
|
50b851 |
- Build with ABRT enabled
|
|
|
50b851 |
|
|
|
50b851 |
* Fri May 31 2013 Jakub Filak <jfilak@redhat.com> - 0.1.0-1
|
|
|
50b851 |
- Initial version
|