libreport/libreport.spec

859 lines
32 KiB
RPMSpec
Raw Normal View History

%if 0%{?suse_version}
%bcond_with bugzilla
%define dbus_devel dbus-1-devel
%define libjson_devel libjson-devel
%else
%bcond_without bugzilla
%define dbus_devel dbus-devel
%define libjson_devel json-c-devel
%endif
%define glib_ver 2.43.4
2011-06-16 11:39:51 +00:00
Summary: Generic library for reporting various problems
Name: libreport
Version: 2.14.0
Release: 17%{?dist}
2011-06-16 11:39:51 +00:00
License: GPLv2+
2015-07-03 11:31:22 +00:00
URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
2020-03-20 18:15:11 +00:00
2020-09-01 06:57:14 +00:00
Patch0: 0001-gui-wizard-gtk-wizard-Remove-variable.patch
Patch1: 0002-gui-wizard-gtk-wizard-Fix-invalid-memory-read.patch
Patch2: 0003-gui-wizard-gtk-Fix-a-double-free-condition.patch
Patch3: 0004-gui-wizard-gtk-Fix-a-segfault-and-memory-leak.patch
Patch4: 0005-gui-wizard-gtk-Fix-segfault.patch
Patch5: 0006-event_config-Null-autofree-pointers-before-returning.patch
2020-10-09 08:30:49 +00:00
Patch6: 0007-gui-wizard-gtk-Don-t-autofree-URL-string.patch
2020-11-03 15:36:34 +00:00
Patch7: 0008-rhbz-Fix-a-double-free-condition.patch
Patch8: 0009-client-python-Add-getter-for-package-count-to-downlo.patch
2020-09-25 17:34:08 +00:00
BuildRequires: %{dbus_devel}
BuildRequires: gtk3-devel
BuildRequires: curl-devel
2011-06-16 11:39:51 +00:00
BuildRequires: desktop-file-utils
2014-03-05 12:14:08 +00:00
BuildRequires: python3-devel
2011-06-16 11:39:51 +00:00
BuildRequires: gettext
BuildRequires: libxml2-devel
BuildRequires: libtar-devel
2011-06-16 11:39:51 +00:00
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: texinfo
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: newt-devel
BuildRequires: libproxy-devel
BuildRequires: satyr-devel >= 0.24
BuildRequires: glib2-devel >= %{glib_ver}
BuildRequires: nettle-devel
2020-03-20 18:15:11 +00:00
BuildRequires: git-core
2014-03-05 12:14:08 +00:00
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
# A test case uses zh_CN locale to verify XML event translations
BuildRequires: glibc-all-langpacks
%endif
%if %{with bugzilla}
2014-03-05 12:14:08 +00:00
BuildRequires: xmlrpc-c-devel
%endif
BuildRequires: doxygen
BuildRequires: systemd-devel
BuildRequires: augeas-devel
BuildRequires: augeas
BuildRequires: libarchive-devel
Requires: libreport-filesystem = %{version}-%{release}
Requires: satyr%{?_isa} >= 0.24
Requires: glib2%{?_isa} >= %{glib_ver}
Requires: libarchive%{?_isa}
Requires: nettle%{?_isa}
# Required for the temporary modularity hack, see below
%if 0%{?_module_build}
BuildRequires: sed
%endif
Obsoletes: %{name}-compat < 2.13.2
Obsoletes: %{name}-plugin-rhtsupport < 2.13.2
Obsoletes: %{name}-rhel < 2.13.2
2011-06-16 11:39:51 +00:00
%description
Libraries providing API for reporting different problems in applications
to different bug targets like Bugzilla, ftp, trac, etc...
2011-12-07 09:27:55 +00:00
%package filesystem
Summary: Filesystem layout for libreport
BuildArch: noarch
2011-12-07 09:27:55 +00:00
%description filesystem
Filesystem layout for libreport
2011-06-16 11:39:51 +00:00
%package devel
Summary: Development libraries and headers for libreport
Requires: libreport = %{version}-%{release}
%description devel
Development libraries and headers for libreport
2012-08-02 11:49:55 +00:00
%package web
Summary: Library providing network API for libreport
Requires: libreport = %{version}-%{release}
%description web
Library providing network API for libreport
%package web-devel
Summary: Development headers for libreport-web
Requires: libreport-web = %{version}-%{release}
%description web-devel
Development headers for libreport-web
%package -n python3-libreport
2014-03-05 12:14:08 +00:00
Summary: Python 3 bindings for report-libs
%if 0%{?_module_build}
# This is required for F26 Boltron (the modular release)
# Different parts of libreport are shipped with different
# modules with different dist tags; we need to weaken the
# strict NVR dependency to make it work. Temporary and
# limited to F26 Boltron.
%global distfreerelease %(echo %{release}|sed 's/%{?dist}$//'||echo 0)
Requires: libreport >= %{version}-%{distfreerelease}
%else
2014-03-05 12:14:08 +00:00
Requires: libreport = %{version}-%{release}
%endif
Requires: python3-dnf
%{?python_provide:%python_provide python3-libreport}
2014-03-05 12:14:08 +00:00
%description -n python3-libreport
2014-03-05 12:14:08 +00:00
Python 3 bindings for report-libs.
2011-06-16 11:39:51 +00:00
%package cli
Summary: %{name}'s command line interface
Requires: %{name} = %{version}-%{release}
%description cli
This package contains simple command line tool for working
with problem dump reports
2011-07-18 14:26:55 +00:00
%package newt
Summary: %{name}'s newt interface
Requires: %{name} = %{version}-%{release}
2012-03-26 13:53:15 +00:00
Provides: report-newt = 0:0.23-1
Obsoletes: report-newt < 0:0.23-1
2011-07-18 14:26:55 +00:00
%description newt
This package contains a simple newt application for reporting
bugs
2011-06-16 11:39:51 +00:00
%package gtk
Summary: GTK front-end for libreport
Requires: libreport = %{version}-%{release}
Requires: libreport-plugin-reportuploader = %{version}-%{release}
2012-03-26 13:53:15 +00:00
Provides: report-gtk = 0:0.23-1
Obsoletes: report-gtk < 0:0.23-1
2011-06-16 11:39:51 +00:00
%description gtk
Applications for reporting bugs using libreport backend
%package gtk-devel
Summary: Development libraries and headers for libreport
Requires: libreport-gtk = %{version}-%{release}
%description gtk-devel
Development libraries and headers for libreport-gtk
2011-07-18 14:26:55 +00:00
%package plugin-kerneloops
Summary: %{name}'s kerneloops reporter plugin
Requires: curl
Requires: %{name} = %{version}-%{release}
2013-04-29 13:46:34 +00:00
Requires: libreport-web = %{version}-%{release}
2011-07-18 14:26:55 +00:00
%description plugin-kerneloops
This package contains plugin which sends kernel crash information to specified
server, usually to kerneloops.org.
%package plugin-logger
Summary: %{name}'s logger reporter plugin
Requires: %{name} = %{version}-%{release}
%description plugin-logger
The simple reporter plugin which writes a report to a specified file.
%package plugin-systemd-journal
Summary: %{name}'s systemd journal reporter plugin
Requires: %{name} = %{version}-%{release}
%description plugin-systemd-journal
The simple reporter plugin which writes a report to the systemd journal.
2011-07-18 14:26:55 +00:00
%package plugin-mailx
Summary: %{name}'s mailx reporter plugin
Requires: %{name} = %{version}-%{release}
Requires: mailx
%description plugin-mailx
The simple reporter plugin which sends a report via mailx to a specified
email address.
%if %{with bugzilla}
2011-07-18 14:26:55 +00:00
%package plugin-bugzilla
Summary: %{name}'s bugzilla plugin
Requires: %{name} = %{version}-%{release}
2013-04-29 13:46:34 +00:00
Requires: libreport-web = %{version}-%{release}
2011-07-18 14:26:55 +00:00
2014-01-30 12:49:57 +00:00
%description plugin-bugzilla
Plugin to report bugs into the bugzilla.
%endif
2014-01-30 12:49:57 +00:00
%package plugin-mantisbt
Summary: %{name}'s mantisbt plugin
Requires: %{name} = %{version}-%{release}
Requires: libreport-web = %{version}-%{release}
%description plugin-mantisbt
Plugin to report bugs into the mantisbt.
%package centos
Summary: %{name}'s CentOS Bug Tracker workflow
Requires: %{name} = %{version}-%{release}
Requires: libreport-web = %{version}-%{release}
Requires: libreport-plugin-mantisbt = %{version}-%{release}
%description centos
Workflows to report issues into the CentOS Bug Tracker.
2012-08-02 11:49:55 +00:00
%package plugin-ureport
Summary: %{name}'s micro report plugin
BuildRequires: %{libjson_devel}
BuildRequires: make
2011-11-04 13:16:15 +00:00
Requires: %{name} = %{version}-%{release}
2013-04-29 13:46:34 +00:00
Requires: libreport-web = %{version}-%{release}
%if 0%{?rhel} && ! 0%{?eln}
Requires: python3-subscription-manager-rhsm
%endif
2011-11-04 13:16:15 +00:00
2012-08-02 11:49:55 +00:00
%description plugin-ureport
Uploads micro-report to abrt server
2011-11-04 13:16:15 +00:00
2011-07-18 14:26:55 +00:00
%package plugin-reportuploader
Summary: %{name}'s reportuploader plugin
Requires: %{name} = %{version}-%{release}
2013-04-29 13:46:34 +00:00
Requires: libreport-web = %{version}-%{release}
2011-07-18 14:26:55 +00:00
%description plugin-reportuploader
Plugin to report bugs into anonymous FTP site associated with ticketing system.
%if 0%{?fedora} || 0%{?eln}
2012-12-19 21:02:43 +00:00
%package fedora
Summary: Default configuration for reporting bugs via Fedora infrastructure
2013-07-26 06:53:23 +00:00
Requires: %{name} = %{version}-%{release}
2012-12-19 21:02:43 +00:00
%description fedora
Default configuration for reporting bugs via Fedora infrastructure
used to easily configure the reporting process for Fedora systems. Just
2012-12-19 21:02:43 +00:00
install this package and you're done.
2013-07-26 06:53:23 +00:00
%endif
2012-12-19 21:02:43 +00:00
%if 0%{?rhel} && ! 0%{?eln}
2014-01-08 06:53:56 +00:00
%package rhel-bugzilla
Summary: Default configuration for reporting bugs to Red Hat Bugzilla
Requires: %{name} = %{version}-%{release}
Requires: libreport-plugin-bugzilla = %{version}-%{release}
Requires: libreport-plugin-ureport = %{version}-%{release}
%description rhel-bugzilla
Default configuration for reporting bugs to Red Hat Bugzilla used to easily
configure the reporting process for Red Hat systems. Just install this package
and you're done.
%package rhel-anaconda-bugzilla
Summary: Default configuration for reporting anaconda bugs to Red Hat Bugzilla
Requires: %{name} = %{version}-%{release}
Requires: libreport-plugin-bugzilla = %{version}-%{release}
%description rhel-anaconda-bugzilla
Default configuration for reporting Anaconda problems to Red Hat Bugzilla used
to easily configure the reporting process for Red Hat systems. Just install this
2014-01-08 06:53:56 +00:00
package and you're done.
2013-07-26 06:53:23 +00:00
%endif
%if %{with bugzilla}
2012-12-19 21:02:43 +00:00
%package anaconda
Summary: Default configuration for reporting anaconda bugs
2013-07-26 06:53:23 +00:00
Requires: %{name} = %{version}-%{release}
Requires: libreport-plugin-reportuploader = %{version}-%{release}
%if ! 0%{?rhel} || 0%{?eln}
2013-07-26 06:53:23 +00:00
Requires: libreport-plugin-bugzilla = %{version}-%{release}
%endif
2012-12-19 21:02:43 +00:00
%description anaconda
2013-07-26 06:53:23 +00:00
Default configuration for reporting Anaconda problems or uploading the gathered
data over ftp/scp...
%endif
2012-12-19 21:02:43 +00:00
2011-06-16 11:39:51 +00:00
%prep
2020-03-20 18:15:11 +00:00
%autosetup -S git
2011-06-16 11:39:51 +00:00
%build
autoreconf
%configure \
%if %{without bugzilla}
--without-bugzilla \
%endif
--enable-doxygen-docs \
--disable-silent-rules
%make_build
2011-06-16 11:39:51 +00:00
%install
%make_install \
%if %{with python3}
PYTHON=%{__python3} \
%endif # with python3
mandir=%{_mandir}
2011-06-16 11:39:51 +00:00
%find_lang %{name}
2014-04-20 20:18:13 +00:00
2014-03-05 12:14:08 +00:00
# Remove byte-compiled python files generated by automake.
# automake uses system's python for all *.py files, even
# for those which needs to be byte-compiled with different
# version (python2/python3).
# rpm can do this work and use the appropriate python version.
find %{buildroot} -name "*.py[co]" -delete
2011-06-16 11:39:51 +00:00
# remove all .la and .a files
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
mkdir -p %{buildroot}/%{_initrddir}
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events.d/
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events/
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/workflows.d/
mkdir -p %{buildroot}/%{_datadir}/%{name}/events/
mkdir -p %{buildroot}/%{_datadir}/%{name}/workflows/
2011-06-16 11:39:51 +00:00
# After everything is installed, remove info dir
rm -f %{buildroot}/%{_infodir}/dir
2011-06-16 11:39:51 +00:00
2013-07-26 06:53:23 +00:00
# Remove unwanted Fedora specific workflow configuration files
%if ! 0%{?fedora} && ! 0%{?eln}
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraCCpp.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraKerneloops.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython3.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraVmcore.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraXorg.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraLibreport.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJava.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJavaScript.xml
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_fedora.conf
rm -f %{buildroot}%{_mandir}/man5/report_fedora.conf.5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml
2013-07-26 06:53:23 +00:00
%endif
# Remove unwanted RHEL specific workflow configuration files
%if ! 0%{?rhel} || 0%{?eln}
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_uReport.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaCCpp.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaKerneloops.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaPython.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaVmcore.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaXorg.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaLibreport.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJava.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJavaScript.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataCCpp.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataKerneloops.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataPython.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDatavmcore.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataxorg.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataLibreport.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJava.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJavaScript.xml
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_uReport.conf
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
rm -f %{buildroot}%{_mandir}/man5/report_uReport.conf.5
rm -f %{buildroot}%{_mandir}/man5/report_rhel_bugzilla.conf.5
2013-07-26 06:53:23 +00:00
%endif
2011-11-04 13:16:15 +00:00
%check
make check|| {
# find and print the logs of failed test
# do not cat tests/testsuite.log because it contains a lot of bloat
find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
2014-09-01 07:14:27 +00:00
exit 1
}
2011-11-04 13:16:15 +00:00
%ldconfig_scriptlets
%ldconfig_scriptlets web
%if 0%{?rhel} && 0%{?rhel} <= 7
%post gtk
%{?ldconfig}
# update icon cache
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun gtk
%{?ldconfig}
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans gtk
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
2013-07-26 06:53:23 +00:00
2011-06-16 11:39:51 +00:00
%files -f %{name}.lang
%doc README.md
%license COPYING
%config(noreplace) %{_sysconfdir}/%{name}/libreport.conf
2011-06-16 11:39:51 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
2012-03-26 13:53:15 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
2013-10-04 12:51:43 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/ignored_words.conf
%{_datadir}/%{name}/conf.d/libreport.conf
2011-06-16 11:39:51 +00:00
%{_libdir}/libreport.so.*
%{_mandir}/man5/libreport.conf.5*
2011-10-03 08:22:02 +00:00
%{_mandir}/man5/report_event.conf.5*
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/forbidden_words.conf.5*
2014-04-20 20:18:13 +00:00
%{_mandir}/man5/ignored_words.conf.5*
# filesystem package owns /usr/share/augeas/lenses directory
%{_datadir}/augeas/lenses/libreport.aug
2011-06-16 11:39:51 +00:00
2011-12-07 09:27:55 +00:00
%files filesystem
%dir %{_sysconfdir}/%{name}/
%dir %{_sysconfdir}/%{name}/events.d/
%dir %{_sysconfdir}/%{name}/events/
%dir %{_sysconfdir}/%{name}/workflows.d/
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/conf.d/
%dir %{_datadir}/%{name}/conf.d/plugins/
2013-07-26 06:53:23 +00:00
%dir %{_datadir}/%{name}/events/
%dir %{_datadir}/%{name}/workflows/
2014-01-30 12:49:57 +00:00
%dir %{_sysconfdir}/%{name}/plugins/
2011-12-07 09:27:55 +00:00
2011-06-16 11:39:51 +00:00
%files devel
2011-06-20 12:26:40 +00:00
# Public api headers:
2013-07-26 06:53:23 +00:00
%doc apidoc/html/*.{html,png,css,js}
2013-04-29 13:46:34 +00:00
%{_includedir}/libreport/libreport_types.h
2011-07-18 14:26:55 +00:00
%{_includedir}/libreport/client.h
2011-06-16 11:39:51 +00:00
%{_includedir}/libreport/dump_dir.h
%{_includedir}/libreport/event_config.h
%{_includedir}/libreport/problem_data.h
%{_includedir}/libreport/problem_report.h
2011-06-16 11:39:51 +00:00
%{_includedir}/libreport/report.h
%{_includedir}/libreport/report_result.h
2011-06-16 11:39:51 +00:00
%{_includedir}/libreport/run_event.h
2012-12-19 21:02:43 +00:00
%{_includedir}/libreport/file_obj.h
%{_includedir}/libreport/config_item_info.h
%{_includedir}/libreport/workflow.h
2014-09-01 07:14:27 +00:00
%{_includedir}/libreport/problem_details_widget.h
%{_includedir}/libreport/problem_details_dialog.h
%{_includedir}/libreport/problem_utils.h
%{_includedir}/libreport/ureport.h
%{_includedir}/libreport/reporters.h
%{_includedir}/libreport/global_configuration.h
2011-06-20 12:26:40 +00:00
# Private api headers:
%{_includedir}/libreport/internal_libreport.h
%{_includedir}/libreport/xml_parser.h
%{_includedir}/libreport/helpers
2011-06-16 11:39:51 +00:00
%{_libdir}/libreport.so
%{_libdir}/pkgconfig/libreport.pc
%dir %{_includedir}/libreport
2012-08-02 11:49:55 +00:00
%files web
2013-07-26 06:53:23 +00:00
%{_libdir}/libreport-web.so.*
2012-08-02 11:49:55 +00:00
%files web-devel
2013-07-26 06:53:23 +00:00
%{_libdir}/libreport-web.so
2012-08-02 11:49:55 +00:00
%{_includedir}/libreport/libreport_curl.h
%{_libdir}/pkgconfig/libreport-web.pc
%files -n python3-libreport
%{python3_sitearch}/report/
%{python3_sitearch}/reportclient/
2014-03-05 12:14:08 +00:00
2011-06-16 11:39:51 +00:00
%files cli
%{_bindir}/report-cli
%{_mandir}/man1/report-cli.1.gz
2011-07-18 14:26:55 +00:00
%files newt
%{_bindir}/report-newt
2013-07-26 06:53:23 +00:00
%{_mandir}/man1/report-newt.1.gz
2011-07-18 14:26:55 +00:00
2011-06-16 11:39:51 +00:00
%files gtk
%{_bindir}/report-gtk
%{_libdir}/libreport-gtk.so.*
2013-07-26 06:53:23 +00:00
%{_mandir}/man1/report-gtk.1.gz
2011-06-16 11:39:51 +00:00
%files gtk-devel
%{_libdir}/libreport-gtk.so
2011-07-18 14:26:55 +00:00
%{_includedir}/libreport/internal_libreport_gtk.h
2011-06-16 11:39:51 +00:00
%{_libdir}/pkgconfig/libreport-gtk.pc
2011-07-18 14:26:55 +00:00
%files plugin-kerneloops
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/events/report_Kerneloops.xml
2011-07-18 14:26:55 +00:00
%{_mandir}/man*/reporter-kerneloops.*
%{_bindir}/reporter-kerneloops
%files plugin-logger
2013-07-26 06:53:23 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf
%{_mandir}/man5/report_Logger.conf.5.*
%{_datadir}/%{name}/events/report_Logger.xml
%{_datadir}/%{name}/workflows/workflow_Logger.xml
%{_datadir}/%{name}/workflows/workflow_LoggerCCpp.xml
2011-07-18 14:26:55 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/print_event.conf.5.*
%{_mandir}/man5/report_logger.conf.5.*
2011-07-18 14:26:55 +00:00
%{_bindir}/reporter-print
%{_mandir}/man*/reporter-print.*
%files plugin-systemd-journal
%{_bindir}/reporter-systemd-journal
%{_mandir}/man*/reporter-systemd-journal.*
2011-07-18 14:26:55 +00:00
%files plugin-mailx
2012-03-26 13:53:15 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
2014-01-30 12:49:57 +00:00
%{_datadir}/%{name}/conf.d/plugins/mailx.conf
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/events/report_Mailx.xml
%{_datadir}/%{name}/workflows/workflow_Mailx.xml
%{_datadir}/%{name}/workflows/workflow_MailxCCpp.xml
2011-07-18 14:26:55 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/mailx.conf.5.*
%{_mandir}/man5/mailx_event.conf.5.*
%{_mandir}/man5/report_mailx.conf.5.*
2011-07-18 14:26:55 +00:00
%{_mandir}/man*/reporter-mailx.*
%{_bindir}/reporter-mailx
2012-08-02 11:49:55 +00:00
%files plugin-ureport
%config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf
2014-01-30 12:49:57 +00:00
%{_datadir}/%{name}/conf.d/plugins/ureport.conf
2012-08-02 11:49:55 +00:00
%{_bindir}/reporter-ureport
2013-07-26 06:53:23 +00:00
%{_mandir}/man1/reporter-ureport.1.gz
%{_mandir}/man5/ureport.conf.5.gz
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/events/report_uReport.xml
%if 0%{?rhel} && ! 0%{?eln}
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf
%{_datadir}/%{name}/workflows/workflow_uReport.xml
%{_mandir}/man5/report_uReport.conf.5.*
%endif
2011-11-04 13:16:15 +00:00
%if %{with bugzilla}
2011-07-18 14:26:55 +00:00
%files plugin-bugzilla
2011-10-03 08:22:02 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
2014-01-30 12:49:57 +00:00
%{_datadir}/%{name}/conf.d/plugins/bugzilla.conf
2012-11-14 12:46:16 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf
2012-11-14 12:46:16 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/events/report_Bugzilla.xml
2014-03-05 12:14:08 +00:00
%{_datadir}/%{name}/events/watch_Bugzilla.xml
2011-07-18 14:26:55 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
2011-07-18 14:26:55 +00:00
# FIXME: remove with the old gui
%{_mandir}/man1/reporter-bugzilla.1.gz
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/report_Bugzilla.conf.5.*
%{_mandir}/man5/bugzilla_event.conf.5.*
%{_mandir}/man5/bugzilla.conf.5.*
%{_mandir}/man5/bugzilla_format.conf.5.*
%{_mandir}/man5/bugzilla_formatdup.conf.5.*
%{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5.*
%{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5.*
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/bugzilla_format_kernel.conf.5.*
2011-07-18 14:26:55 +00:00
%{_bindir}/reporter-bugzilla
%endif
2011-07-18 14:26:55 +00:00
%files plugin-mantisbt
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt.conf
%{_datadir}/%{name}/conf.d/plugins/mantisbt.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf
%{_bindir}/reporter-mantisbt
%{_mandir}/man1/reporter-mantisbt.1.gz
%{_mandir}/man5/mantisbt.conf.5.*
%{_mandir}/man5/mantisbt_format.conf.5.*
%{_mandir}/man5/mantisbt_formatdup.conf.5.*
%{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5.*
%{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5.*
%files centos
%{_datadir}/%{name}/workflows/workflow_CentOSCCpp.xml
%{_datadir}/%{name}/workflows/workflow_CentOSKerneloops.xml
%{_datadir}/%{name}/workflows/workflow_CentOSPython.xml
%{_datadir}/%{name}/workflows/workflow_CentOSPython3.xml
%{_datadir}/%{name}/workflows/workflow_CentOSVmcore.xml
%{_datadir}/%{name}/workflows/workflow_CentOSXorg.xml
%{_datadir}/%{name}/workflows/workflow_CentOSLibreport.xml
%{_datadir}/%{name}/workflows/workflow_CentOSJava.xml
%{_datadir}/%{name}/workflows/workflow_CentOSJavaScript.xml
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_centos.conf
%{_mandir}/man5/report_centos.conf.5.*
%{_datadir}/%{name}/events/report_CentOSBugTracker.xml
%config(noreplace) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf
%{_mandir}/man5/report_CentOSBugTracker.conf.5.*
# report_CentOSBugTracker events are shipped by libreport package
%config(noreplace) %{_sysconfdir}/libreport/events.d/centos_report_event.conf
%{_mandir}/man5/centos_report_event.conf.5.gz
2011-07-18 14:26:55 +00:00
%files plugin-reportuploader
%{_mandir}/man*/reporter-upload.*
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/uploader_event.conf.5.*
2011-07-18 14:26:55 +00:00
%{_bindir}/reporter-upload
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/events/report_Uploader.xml
2011-10-03 08:22:02 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/workflows/workflow_Upload.xml
%{_datadir}/%{name}/workflows/workflow_UploadCCpp.xml
2014-04-04 10:32:11 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf
%{_datadir}/%{name}/conf.d/plugins/upload.conf
%{_mandir}/man5/upload.conf.5.*
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf
%{_mandir}/man5/report_uploader.conf.5.*
%config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf
%{_mandir}/man5/report_Uploader.conf.5.*
2012-12-19 21:02:43 +00:00
%if 0%{?fedora} || 0%{?eln}
2012-12-19 21:02:43 +00:00
%files fedora
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml
%{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml
%{_datadir}/%{name}/workflows/workflow_FedoraPython.xml
2014-03-05 12:14:08 +00:00
%{_datadir}/%{name}/workflows/workflow_FedoraPython3.xml
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/workflows/workflow_FedoraVmcore.xml
%{_datadir}/%{name}/workflows/workflow_FedoraXorg.xml
2014-01-30 12:49:57 +00:00
%{_datadir}/%{name}/workflows/workflow_FedoraLibreport.xml
%{_datadir}/%{name}/workflows/workflow_FedoraJava.xml
%{_datadir}/%{name}/workflows/workflow_FedoraJavaScript.xml
2012-12-19 21:02:43 +00:00
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/report_fedora.conf.5.*
%endif
2012-12-19 21:02:43 +00:00
%if 0%{?rhel} && ! 0%{?eln}
2014-01-08 06:53:56 +00:00
%files rhel-bugzilla
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaKerneloops.xml
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaPython.xml
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaVmcore.xml
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaXorg.xml
2014-01-30 12:49:57 +00:00
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaLibreport.xml
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaJava.xml
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaJavaScript.xml
2014-01-08 06:53:56 +00:00
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
%{_mandir}/man5/report_rhel_bugzilla.conf.5.*
%files rhel-anaconda-bugzilla
%{_datadir}/%{name}/workflows/workflow_AnacondaRHELBugzilla.xml
2013-07-26 06:53:23 +00:00
%endif
%if %{with bugzilla}
2012-12-19 21:02:43 +00:00
%files anaconda
%if 0%{?fedora} || 0%{?eln}
2013-07-26 06:53:23 +00:00
%{_datadir}/%{name}/workflows/workflow_AnacondaFedora.xml
%endif
%{_datadir}/%{name}/workflows/workflow_AnacondaUpload.xml
2012-12-19 21:02:43 +00:00
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
2013-04-04 17:09:01 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf
2013-07-26 06:53:23 +00:00
%{_mandir}/man5/anaconda_event.conf.5.*
%{_mandir}/man5/bugzilla_anaconda_event.conf.5.*
%{_mandir}/man5/bugzilla_format_anaconda.conf.5.*
%{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5.*
%endif
2011-07-18 14:26:55 +00:00
2011-06-16 11:39:51 +00:00
%changelog
* Fri Jan 29 2021 Michal Srb <michal@redhat.com> - 2.14.0-17
- Drop AnacondaRHEL workflow reference
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-18 10:33:31 +00:00
* Mon Jan 18 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 2.14.0-15
- Bump rev for upgrades
* Fri Dec 11 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-13
2020-12-11 11:32:43 +00:00
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1906405
2020-11-03 16:03:34 +00:00
* Tue Nov 03 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-12
2020-11-03 15:36:34 +00:00
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1893595
2020-10-09 08:30:49 +00:00
* Fri Oct 09 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-11
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882328
* Tue Sep 29 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-10
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883337
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883410
2020-09-01 06:57:14 +00:00
* Sun Sep 27 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-9
- Add upstream fixes for memory management
2020-09-27 18:51:04 +00:00
* Sun Sep 27 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-8
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882950
2020-09-25 17:34:08 +00:00
* Fri Sep 25 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-7
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882319
* Wed Aug 19 2020 Merlin Mathesius <mmathesi@redhat.com> - 2.14.0-6
- Updates so ELN builds in a Fedora-like reporting configuration, even though
the %%{rhel} macro is set.
* Thu Aug 13 2020 Michal Fabik <mfabik@redhat.com> 2.14.0-3
- forbidden_words: Add potentially sensitive env vars
- lib: Add version script for libreport
- lib: compress: Use libarchive
- Replace various utility functions with stock GLib ones
- gtk,lib: Update symbol list
- dd: Update dd_get_owner to handle error return values
- dirsize: Don't pick .lock'd dirs for deletion
- setgid instead of setuid the abrt-action-install-debuginfo-to-abrt-cache
- Various coding style improvements
- Various memory management fixes
- lib: Check for errors when opening files
- gtk-helpers: Check return value
- doc: Exclude more files with --without-bugzilla
- lib: Dont use external executables for decompression
- lib: Decommission libreport_list_free_with_free
- Drop Red Hat Customer Portal reporter
- ureport: Drop Strata integration
- lib: Remove creates-items tag parsing in event definitions
2020-08-07 16:23:43 +00:00
* Fri Aug 07 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 2.13.1-4
- Bump to fix upgrade path
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-05-24 05:50:51 +00:00
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 2.13.1-2
- Rebuilt for Python 3.9
* Mon May 11 2020 Michal Fabik <mfabik@redhat.com> 2.13.1-1
- Fix broken abrt-vmcore.service due to bad namespacing
* Fri Apr 24 2020 Michal Fabik <mfabik@redhat.com> 2.13.0-2
- Support new "time" and "time_for_children" kernel namespaces
- Remove preprocessor namespacing in favor of function name prefixes
- client-python: Accomodate for multiple debug directories
- gui-wizard-gtk: Wrap event log messages
- lib: Drop D-Bus code
- plugins: reporter-rhtsupport: Drop unused debugging code
- Update translations
2020-04-21 19:43:19 +00:00
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 2.12.0-4
- Rebuild (json-c)
2020-03-20 18:15:11 +00:00
* Fri Mar 20 2020 Ernestas Kulik <ekulik@redhat.com> - 2.12.0-3
- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544
2020-02-07 08:12:07 +00:00
* Fri Feb 07 2020 Ernestas Kulik <ekulik@redhat.com> - 2.12.0-2
- Bump release for side tag rebuild
* Thu Feb 06 2020 Michal Fabik <mfabik@redhat.com> 2.12.0-1
- ureport: Allow printf-like data attaching
- plugins: reporter-rhtsupport: Avoid runtime warning
- Update translations
- lib: Don't include Nettle in a public interface
- ureport: Drop HTTP header table
- glib_support: Use g_strsplit
- glib_support: Drop type initialization
- client-python: Drop yumdebuginfo
- lib: Use Nettle for computing SHA-1 digests
- Move augeas lenses to new subdirectory
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Nov 14 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.3-1
- Remove unused scripts
- gtk: Fix infinite loop crashing the reporting
- gtk: Improve logging
- gtk: Remove page number from page struct
- gtk: Code style adjustments
- Make notebook tabs invisible again
- gui-wizard-gtk: Remove expert mode
- gui-wizard-gtk: Stop allowing overriding UI definitions
- pull-trans: Suggest zanata install
- shellcheck: Iterating over ls output is fragile. Use globs.
- shellcheck: Double quote to prevent globbing and word splitting
- zanata: Use python3 zanata client to pull translations
- gtk: Fix another possible double-free
* Mon Nov 11 2019 Ernestas Kulik <ekulik@redhat.com> - 2.11.2-2
- Add patch to fix a double-free
* Wed Oct 23 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.2-1
- gtk: Improve memory management
- gtk: Prevent memory leak
- lib: Eliminate GLib inefficiency
- gtk,style: Minor style consistency fixes
- workflows: Correct name of post_report event
* Wed Oct 16 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.1-1
- gtk: Fix a double-free condition
* Fri Oct 11 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.0-1
- Remove option for emergency analysis/reporting
- tests: proc_helpers: Fix call to errx()
- plugins: bugzilla: Add format file for libreport duplicates
- dbus: Remove interface introspection files
- lib: Don't warn if a configuration key is missing
- gtk: Handle event wildcards in command line options
- gtk: Better handling of workflows with wildcarded events
- lib: Remove unused arguments of prepare_commands
- lib: Reintroduce error logging in event XML parser
- cli: Continue running even if some events have no commands
- cli: Expand event name wildcards
- lib: Expand wildcards in workflow XML parser
- lib: Add a function to expand wildcards in event names
- style: Simplify code; fix typos in comments
- gitignore: Update with missing and renamed generated files
- dirsize: Skip dirs in which sosreport is being generated
- tests: Fix Python tests being skipped unconditionally
- Remove Python 2 support
2019-10-03 11:56:02 +00:00
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
2019-08-17 14:51:40 +00:00
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-3
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jul 03 2019 Martin Kutlak <mkutlak@redhat.com> 2.10.1-1
- doc: Makefile.am: Use correct path for --conf-file
- lib: copy_file_recursive: Use GLib abstractions
- gui-wizard-gtk: Fix fix
- cli: run-command: Replace use of vfork() with fork()
- plugins: rhbz: Dont call strlen() on attachment data
- Check for empty fmt_file name when printing error msgs
- cli: Unpack command-line argument parsing logic
- lib: event_config: Remove pointless assignment
- gui-wizard-gtk: Fix never-read assignment
- lib: xatonum: Check string parameters
- Rework and refine composition of error messages
- Add clearer warnings about missing report elements specified in format files
- Move uReport workflow to plugin-ureport subpackage
- lib: ureport: Export workflow when saving server response
- lib: dump_dir: Clean up on failure in dd_delete()
- Use #ifdef to check whether macros are defined
- autogen.sh: Use autoreconf
- autogen.sh: Allow skipping running configure
- tests: forbidden_words: Dont hardcode sysconfdir
- Makefile.am: Use correct locale when getting date
* Tue Apr 23 2019 Ernestas Kulik <ekulik@redhat.com> - 2.10.0-3
- Add patch to fix workflow fields not being added to reported_to when μReport response comes with a Bugzilla URL
* Mon Feb 04 2019 Ernestas Kulik <ekulik@redhat.com> - 2.10.0-2
- Remove unused patch
* Sat Feb 02 2019 Ernestas Kulik <ekulik@redhat.com> - 2.10.0-1
- Update to 2.10.0
- Bump GLib dependency
- Add patch to work around issue with test