Blame SPECS/libreport.spec

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