New version which provides a proper libreport configuration
This commit is contained in:
parent
ee47198390
commit
384a1e5258
3 changed files with 44 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,3 +3,4 @@
|
|||
/abrt-java-connector-1.0.2-3cc67c2.tar.gz
|
||||
/abrt-java-connector-1.0.3-872c1de.tar.gz
|
||||
/abrt-java-connector-1.0.4-e97c189.tar.gz
|
||||
/abrt-java-connector-1.0.5-9214372.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
%global commit e97c189068515c894695c07b68733adc211c9805
|
||||
%global commit 9214372f6635aa377954f26a7c4dc90477a14564
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: abrt-java-connector
|
||||
Version: 1.0.4
|
||||
Version: 1.0.5
|
||||
Release: 1%{?dist}
|
||||
Summary: JNI Agent library converting Java exceptions to ABRT problems
|
||||
|
||||
|
|
@ -34,12 +34,49 @@ make %{?_smp_mflags}
|
|||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# Remove unwanted Fedora specific workflow configuration files
|
||||
%if 0%{!?fedora:1}
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraJava.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_fedora_java.conf
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/events.d/java_event_fedora.conf
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_fedora_java.conf.5
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/java_event_fedora.conf.5
|
||||
%endif
|
||||
|
||||
# Remove unwanted RHEL specific workflow configuration files
|
||||
%if 0%{!?rhel:1}
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELJava.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_rhel_java.conf
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/events.d/java_event_rhel.conf
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_rhel_java.conf.5
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/java_event_rhel.conf.5
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%doc LICENSE README AUTHORS
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_java.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_java.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event.conf
|
||||
%{_mandir}/man5/java_event.conf.5*
|
||||
%{_mandir}/man5/bugzilla_format_java.conf.5*
|
||||
%{_mandir}/man5/bugzilla_formatdup_java.conf.5*
|
||||
|
||||
%if 0%{?fedora}
|
||||
%{_datadir}/libreport/workflows/workflow_FedoraJava.xml
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event_fedora.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora_java.conf
|
||||
%{_mandir}/man5/java_event_fedora.conf.5*
|
||||
%{_mandir}/man5/report_fedora_java.conf.5*
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel}
|
||||
%{_datadir}/libreport/workflows/workflow_RHELJava.xml
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event_rhel.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_java.conf
|
||||
%{_mandir}/man5/java_event_rhel.conf.5*
|
||||
%{_mandir}/man5/report_rhel_java.conf.5*
|
||||
%endif
|
||||
|
||||
# install only unversioned shared object because the package is a Java plugin
|
||||
# and not a system library but unfortunately the library must be placed in ld
|
||||
|
|
@ -59,6 +96,9 @@ make test
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 30 2013 Jakub Filak <jfilak@redhat.com> - 1.0.5-1
|
||||
- Provide a proper configuration for libreport
|
||||
|
||||
* Thu Jul 18 2013 Jakub Filak <jfilak@redhat.com> - 1.0.4-1
|
||||
- Stop creating an empty log file
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
21494260bc32b1b6ed790703812f3484 abrt-java-connector-1.0.4-e97c189.tar.gz
|
||||
22d8cd75ed08c29207b4d50b7b275568 abrt-java-connector-1.0.5-9214372.tar.gz
|
||||
|
|
|
|||
Reference in a new issue