Blame SPECS/libreport.spec

8256c5
%if 0%{?suse_version}
8256c5
  %bcond_with bugzilla
8256c5
8256c5
  %define dbus_devel dbus-1-devel
8256c5
  %define libjson_devel libjson-devel
8256c5
%else
8256c5
  %bcond_without bugzilla
8256c5
8256c5
  %define dbus_devel dbus-devel
8256c5
  %define libjson_devel json-c-devel
8256c5
%endif
8256c5
8256c5
%define glib_ver 2.43
8256c5
8256c5
%if 0%{?fedora} || 0%{?rhel} > 7
8256c5
# Enable python3 build by default
8256c5
%bcond_without python3
8256c5
%else
8256c5
%bcond_with python3
8256c5
%endif
8256c5
8256c5
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
8256c5
# Disable python2 build by default
8256c5
%bcond_with python2
8256c5
%else
8256c5
%bcond_without python2
8256c5
%endif
8256c5
8256c5
Summary: Generic library for reporting various problems
8256c5
Name: libreport
8256c5
Version: 2.9.5
3edac2
Release: 15%{?dist}
8256c5
License: GPLv2+
8256c5
URL: https://abrt.readthedocs.org/
8256c5
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
8256c5
8256c5
Patch0001: 0001-ureport-use-python3-to-get-consumerCertDir.patch
8256c5
Patch0002: 0002-Remove-option-to-screencast-problems.patch
8256c5
Patch0003: 0003-offer-reporting-to-Bugzilla-only-for-pre-GA-Anaconda.patch
3edac2
Patch0004: 0004-replace-all-Fedora-URLs-by-corresponding-values-for-.patch
8256c5
Patch0005: 0005-coverity-fix-def6.patch
8256c5
Patch0006: 0006-coverity-fix-def7.patch
8256c5
Patch0007: 0007-coverity-fix-def9.patch
8256c5
Patch0008: 0008-coverity-fixes-def16-def17.patch
8256c5
Patch0009: 0009-coverity-fixes-def21.patch
8256c5
Patch0010: 0010-coverity-Free-resource-leaking-vars-def-42-41-38-37.patch
8256c5
Patch0011: 0011-coverity-Check-if-pointer-isnt-null-before-strcmp-de.patch
8256c5
Patch0012: 0012-coverity-Change-data-type-for-bug_id-variable-def-44.patch
8256c5
Patch0013: 0013-coverity-Check-null-pointer-before-dereferencing-it-.patch
8256c5
Patch0014: 0014-coverity-Remove-check-for-null-pointer-with-no-effec.patch
8256c5
Patch0015: 0015-coverity-Check-return-value-of-fstat-call-def31.patch
8256c5
Patch0016: 0016-coverity-Remove-reverse-inull-def30.patch
8256c5
Patch0017: 0017-coverity-Remove-deadcode-def47.patch
8256c5
#Patch0018: 0018-Make-this-build-without-usr-bin-python.patch
8256c5
Patch0019: 0019-bugzilla-change-the-default-bugzilla-group.patch
8256c5
Patch0020: 0020-lib-dump_dir-Clean-up-on-failure-in-dd_delete.patch
8256c5
Patch0021: 0021-cli-Unpack-command-line-argument-parsing-logic.patch
8256c5
Patch0022: 0022-plugins-rhbz-Don-t-call-strlen-on-attachment-data.patch
8256c5
Patch0023: 0023-tests-Disable-strcpm-ing-a-freed-pointer.patch
8256c5
#git format-patch -N --start-number=24
8256c5
Patch0024: 0024-lib-fix-a-SEGV-in-list_possible_events.patch
8256c5
#git format-patch -N --start-number=25
8256c5
Patch0025: 0025-report-client-Find-debuginfos-in-own-method.patch
8256c5
Patch0026: 0026-reportclient-Find-and-download-required-debuginfo-pa.patch
8256c5
Patch0027: 0027-reportclient-Search-for-required-packages-recursivel.patch
dc14c1
# git format-patch --no-numbered --start-number=28 --topo-order 2.9.5-10.el8
dc14c1
Patch0028: 0028-dirsize-Skip-dirs-in-which-sosreport-is-being-genera.patch
e9710e
# git format-patch --no-numbered --start-number=29 --topo-order 2.9.5-11.el8
e9710e
Patch0029: 0029-setgid-instead-of-setuid-the-abrt-action-install-deb.patch
e9710e
# git format-patch --no-numbered --start-number=30 --topo-order 2.9.5-12.el8
e9710e
Patch0030: 0030-ureport-Drop-Strata-integration.patch
66ab24
# git format-patch --no-numbered --start-number=31 --topo-order 2.9.5-13.el8
66ab24
Patch0031: 0031-plugins-reporter-rhtsupport-Fix-command-line-parsing.patch
3edac2
# git format-patch --no-numbered --start-number=32 --topo-order 2.9.5-14.el8
3edac2
Patch0032: 0032-Drop-remaining-references-to-removed-command-line-op.patch
8256c5
8256c5
# autogen.sh is need to regenerate all the Makefile files
8256c5
Patch9000: 9000-Add-autogen.sh.patch
8256c5
8256c5
BuildRequires: %{dbus_devel}
8256c5
BuildRequires: gtk3-devel
8256c5
BuildRequires: curl-devel
8256c5
BuildRequires: desktop-file-utils
8256c5
%if %{with python2}
8256c5
BuildRequires: python2-devel
8256c5
%endif # with python2
8256c5
%if %{with python3}
8256c5
BuildRequires: python3-devel
8256c5
%endif # with python3
8256c5
BuildRequires: gettext
8256c5
BuildRequires: libxml2-devel
8256c5
BuildRequires: libtar-devel
8256c5
BuildRequires: intltool
8256c5
BuildRequires: libtool
8256c5
BuildRequires: texinfo
8256c5
BuildRequires: asciidoc
8256c5
BuildRequires: xmlto
8256c5
BuildRequires: newt-devel
8256c5
BuildRequires: libproxy-devel
8256c5
BuildRequires: satyr-devel >= 0.24
8256c5
BuildRequires: glib2-devel >= %{glib_ver}
8256c5
BuildRequires: git
8256c5
8256c5
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
8256c5
# A test case uses zh_CN locale to verify XML event translations
8256c5
BuildRequires: glibc-all-langpacks
8256c5
%endif
8256c5
8256c5
%if %{with bugzilla}
8256c5
BuildRequires: xmlrpc-c-devel
8256c5
%endif
8256c5
BuildRequires: doxygen
8256c5
BuildRequires: systemd-devel
8256c5
BuildRequires: augeas-devel
8256c5
BuildRequires: augeas
8256c5
BuildRequires: xz
8256c5
BuildRequires: lz4
8256c5
Requires: libreport-filesystem = %{version}-%{release}
8256c5
Requires: satyr >= 0.24
8256c5
Requires: glib2 >= %{glib_ver}
8256c5
Requires: xz
8256c5
Requires: lz4
8256c5
8256c5
# Required for the temporary modularity hack, see below
8256c5
%if 0%{?_module_build}
8256c5
BuildRequires: sed
8256c5
%endif
8256c5
8256c5
%description
8256c5
Libraries providing API for reporting different problems in applications
8256c5
to different bug targets like Bugzilla, ftp, trac, etc...
8256c5
8256c5
%package filesystem
8256c5
Summary: Filesystem layout for libreport
8256c5
8256c5
%description filesystem
8256c5
Filesystem layout for libreport
8256c5
8256c5
%package devel
8256c5
Summary: Development libraries and headers for libreport
8256c5
Requires: libreport = %{version}-%{release}
8256c5
8256c5
%description devel
8256c5
Development libraries and headers for libreport
8256c5
8256c5
%package web
8256c5
Summary: Library providing network API for libreport
8256c5
Requires: libreport = %{version}-%{release}
8256c5
8256c5
%description web
8256c5
Library providing network API for libreport
8256c5
8256c5
%package web-devel
8256c5
Summary: Development headers for libreport-web
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
8256c5
%description web-devel
8256c5
Development headers for libreport-web
8256c5
8256c5
%if %{with python2}
8256c5
%package -n python2-libreport
8256c5
Summary: Python bindings for report-libs
8256c5
Requires: libreport = %{version}-%{release}
8256c5
Requires: python2-dnf
8256c5
%{?python_provide:%python_provide python2-libreport}
8256c5
# Remove before F30
8256c5
Provides: %{name}-python = %{version}-%{release}
8256c5
Provides: %{name}-python%{?_isa} = %{version}-%{release}
8256c5
Obsoletes: %{name}-python < %{version}-%{release}
8256c5
8256c5
%description -n python2-libreport
8256c5
Python bindings for report-libs.
8256c5
%endif # with python2
8256c5
8256c5
%if %{with python3}
8256c5
%package -n python3-libreport
8256c5
Summary: Python 3 bindings for report-libs
8256c5
%if 0%{?_module_build}
8256c5
# This is required for F26 Boltron (the modular release)
8256c5
# Different parts of libreport are shipped with different
8256c5
# modules with different dist tags; we need to weaken the
8256c5
# strict NVR dependency to make it work.  Temporary and
8256c5
# limited to F26 Boltron.
8256c5
%global distfreerelease %(echo %{release}|sed 's/%{?dist}$//'||echo 0)
8256c5
Requires: libreport >= %{version}-%{distfreerelease}
8256c5
%else
8256c5
Requires: libreport = %{version}-%{release}
8256c5
%endif
8256c5
Requires: python3-dnf
8256c5
%{?python_provide:%python_provide python3-libreport}
8256c5
# Remove before F30
8256c5
Provides: %{name}-python3 = %{version}-%{release}
8256c5
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
8256c5
Obsoletes: %{name}-python3 < %{version}-%{release}
8256c5
8256c5
%description -n python3-libreport
8256c5
Python 3 bindings for report-libs.
8256c5
%endif # with python3
8256c5
8256c5
%package cli
8256c5
Summary: %{name}'s command line interface
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
8256c5
%description cli
8256c5
This package contains simple command line tool for working
8256c5
with problem dump reports
8256c5
8256c5
%package newt
8256c5
Summary: %{name}'s newt interface
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Provides: report-newt = 0:0.23-1
8256c5
Obsoletes: report-newt < 0:0.23-1
8256c5
8256c5
%description newt
8256c5
This package contains a simple newt application for reporting
8256c5
bugs
8256c5
8256c5
%package gtk
8256c5
Summary: GTK front-end for libreport
8256c5
Requires: libreport = %{version}-%{release}
8256c5
Requires: libreport-plugin-reportuploader = %{version}-%{release}
8256c5
Provides: report-gtk = 0:0.23-1
8256c5
Obsoletes: report-gtk < 0:0.23-1
8256c5
8256c5
%description gtk
8256c5
Applications for reporting bugs using libreport backend
8256c5
8256c5
%package gtk-devel
8256c5
Summary: Development libraries and headers for libreport
8256c5
Requires: libreport-gtk = %{version}-%{release}
8256c5
8256c5
%description gtk-devel
8256c5
Development libraries and headers for libreport-gtk
8256c5
8256c5
%package plugin-kerneloops
8256c5
Summary: %{name}'s kerneloops reporter plugin
8256c5
Requires: curl
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
8256c5
%description plugin-kerneloops
8256c5
This package contains plugin which sends kernel crash information to specified
8256c5
server, usually to kerneloops.org.
8256c5
8256c5
%package plugin-logger
8256c5
Summary: %{name}'s logger reporter plugin
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
8256c5
%description plugin-logger
8256c5
The simple reporter plugin which writes a report to a specified file.
8256c5
8256c5
%package plugin-systemd-journal
8256c5
Summary: %{name}'s systemd journal reporter plugin
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
8256c5
%description plugin-systemd-journal
8256c5
The simple reporter plugin which writes a report to the systemd journal.
8256c5
8256c5
%package plugin-mailx
8256c5
Summary: %{name}'s mailx reporter plugin
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: mailx
8256c5
8256c5
%description plugin-mailx
8256c5
The simple reporter plugin which sends a report via mailx to a specified
8256c5
email address.
8256c5
8256c5
%if %{with bugzilla}
8256c5
%package plugin-bugzilla
8256c5
Summary: %{name}'s bugzilla plugin
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
8256c5
%description plugin-bugzilla
8256c5
Plugin to report bugs into the bugzilla.
8256c5
%endif
8256c5
8256c5
%package plugin-mantisbt
8256c5
Summary: %{name}'s mantisbt plugin
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
8256c5
%description plugin-mantisbt
8256c5
Plugin to report bugs into the mantisbt.
8256c5
8256c5
%package centos
8256c5
Summary: %{name}'s CentOS Bug Tracker workflow
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
Requires: libreport-plugin-mantisbt = %{version}-%{release}
8256c5
8256c5
%description centos
8256c5
Workflows to report issues into the CentOS Bug Tracker.
8256c5
8256c5
%package plugin-ureport
8256c5
Summary: %{name}'s micro report plugin
8256c5
BuildRequires: %{libjson_devel}
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
%if 0%{?rhel}
8256c5
%if %{with python2}
8256c5
Requires: python-rhsm
8256c5
%endif # with python2
8256c5
%if %{with python3}
8256c5
Requires: python3-subscription-manager-rhsm
8256c5
%endif # with python3
8256c5
%endif
8256c5
8256c5
%description plugin-ureport
8256c5
Uploads micro-report to abrt server
8256c5
8256c5
%package plugin-rhtsupport
8256c5
Summary: %{name}'s RHTSupport plugin
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
8256c5
%description plugin-rhtsupport
8256c5
Plugin to report bugs into RH support system.
8256c5
8256c5
%if %{with bugzilla}
8256c5
%package compat
8256c5
Summary: %{name}'s compat layer for obsoleted 'report' package
8256c5
Requires: libreport = %{version}-%{release}
8256c5
Requires: %{name}-plugin-bugzilla = %{version}-%{release}
8256c5
Requires: %{name}-plugin-rhtsupport = %{version}-%{release}
8256c5
8256c5
%description compat
8256c5
Provides 'report' command-line tool.
8256c5
%endif
8256c5
8256c5
%package plugin-reportuploader
8256c5
Summary: %{name}'s reportuploader plugin
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-web = %{version}-%{release}
8256c5
8256c5
%description plugin-reportuploader
8256c5
Plugin to report bugs into anonymous FTP site associated with ticketing system.
8256c5
8256c5
%if 0%{?fedora}
8256c5
%package fedora
8256c5
Summary: Default configuration for reporting bugs via Fedora infrastructure
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
8256c5
%description fedora
8256c5
Default configuration for reporting bugs via Fedora infrastructure
8256c5
used to easily configure the reporting process for Fedora systems. Just
8256c5
install this package and you're done.
8256c5
%endif
8256c5
8256c5
%if 0%{?rhel}
8256c5
%package rhel
8256c5
Summary: Default configuration for reporting bugs via Red Hat infrastructure
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
8256c5
%description rhel
8256c5
Default configuration for reporting bugs via Red Hat infrastructure
8256c5
used to easily configure the reporting process for Red Hat systems. Just
8256c5
install this package and you're done.
8256c5
8256c5
%package rhel-bugzilla
8256c5
Summary: Default configuration for reporting bugs to Red Hat Bugzilla
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-plugin-bugzilla = %{version}-%{release}
8256c5
Requires: libreport-plugin-ureport = %{version}-%{release}
8256c5
8256c5
%description rhel-bugzilla
8256c5
Default configuration for reporting bugs to Red Hat Bugzilla used to easily
8256c5
configure the reporting process for Red Hat systems. Just install this package
8256c5
and you're done.
8256c5
8256c5
%package rhel-anaconda-bugzilla
8256c5
Summary: Default configuration for reporting anaconda bugs to Red Hat Bugzilla
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-plugin-bugzilla = %{version}-%{release}
8256c5
8256c5
%description rhel-anaconda-bugzilla
8256c5
Default configuration for reporting Anaconda problems to Red Hat Bugzilla used
8256c5
to easily configure the reporting process for Red Hat systems. Just install this
8256c5
package and you're done.
8256c5
%endif
8256c5
8256c5
%if %{with bugzilla}
8256c5
%package anaconda
8256c5
Summary: Default configuration for reporting anaconda bugs
8256c5
Requires: %{name} = %{version}-%{release}
8256c5
Requires: libreport-plugin-reportuploader = %{version}-%{release}
8256c5
%if 0%{?rhel}
8256c5
Requires: libreport-plugin-rhtsupport = %{version}-%{release}
8256c5
%else
8256c5
Requires: libreport-plugin-bugzilla = %{version}-%{release}
8256c5
%endif
8256c5
8256c5
%description anaconda
8256c5
Default configuration for reporting Anaconda problems or uploading the gathered
8256c5
data over ftp/scp...
8256c5
%endif
8256c5
8256c5
%prep
8256c5
# http://www.rpm.org/wiki/PackagerDocs/Autosetup
8256c5
# Default '__scm_apply_git' is 'git apply && git commit' but this workflow
8256c5
# doesn't allow us to create a new file within a patch, so we have to use
8256c5
# 'git am' (see /usr/lib/rpm/macros for more details)
8256c5
%define __scm_apply_git(qp:m:) %{__git} am
8256c5
%autosetup -S git
8256c5
8256c5
%build
8256c5
./autogen.sh
8256c5
autoconf
8256c5
8256c5
CFLAGS="%{optflags} -Werror" %configure \
8256c5
%if %{without python2}
8256c5
        --without-python2 \
8256c5
%endif # with python2
8256c5
%if %{without python3}
8256c5
        --without-python3 \
8256c5
%endif # with python3
8256c5
%if %{without bugzilla}
8256c5
        --without-bugzilla \
8256c5
%endif
8256c5
        --enable-doxygen-docs \
8256c5
        --disable-silent-rules
8256c5
8256c5
make %{?_smp_mflags}
8256c5
8256c5
%install
8256c5
make install DESTDIR=%{buildroot} \
8256c5
	     PYTHON=%{__python3} \
8256c5
	     mandir=%{_mandir}
8256c5
%find_lang %{name}
8256c5
8256c5
# Remove byte-compiled python files generated by automake.
8256c5
# automake uses system's python for all *.py files, even
8256c5
# for those which needs to be byte-compiled with different
8256c5
# version (python2/python3).
8256c5
# rpm can do this work and use the appropriate python version.
8256c5
find %{buildroot} -name "*.py[co]" -delete
8256c5
8256c5
# remove all .la and .a files
8256c5
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
8256c5
mkdir -p %{buildroot}/%{_initrddir}
8256c5
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events.d/
8256c5
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events/
8256c5
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/workflows.d/
8256c5
mkdir -p %{buildroot}/%{_datadir}/%{name}/events/
8256c5
mkdir -p %{buildroot}/%{_datadir}/%{name}/workflows/
8256c5
8256c5
# After everything is installed, remove info dir
8256c5
rm -f %{buildroot}/%{_infodir}/dir
8256c5
8256c5
# Remove unwanted Fedora specific workflow configuration files
8256c5
%if 0%{!?fedora:1}
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraCCpp.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraKerneloops.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython3.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraVmcore.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraXorg.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraLibreport.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJava.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJavaScript.xml
8256c5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_fedora.conf
8256c5
rm -f %{buildroot}%{_mandir}/man5/report_fedora.conf.5
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml
8256c5
%endif
8256c5
8256c5
# Remove unwanted RHEL specific workflow configuration files
8256c5
%if 0%{!?rhel:1}
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELCCpp.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELKerneloops.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELPython.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELvmcore.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELxorg.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELLibreport.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELJava.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELJavaScript.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_uReport.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaCCpp.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaKerneloops.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaPython.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaVmcore.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaXorg.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaLibreport.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJava.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJavaScript.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataCCpp.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataKerneloops.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataPython.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDatavmcore.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataxorg.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataLibreport.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJava.xml
8256c5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJavaScript.xml
8256c5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel.conf
8256c5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf
8256c5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_uReport.conf
8256c5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
8256c5
rm -f %{buildroot}%{_mandir}/man5/report_rhel.conf.5
8256c5
rm -f %{buildroot}%{_mandir}/man5/report_uReport.conf.5
8256c5
rm -f %{buildroot}%{_mandir}/man5/report_rhel_bugzilla.conf.5
8256c5
%endif
8256c5
8256c5
%check
8256c5
make check|| {
8256c5
    # find and print the logs of failed test
8256c5
    # do not cat tests/testsuite.log because it contains a lot of bloat
8256c5
    find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
8256c5
    exit 1
8256c5
}
8256c5
8256c5
%if 0%{?fedora} > 27 || 0%{?rhel} > 7
8256c5
# ldconfig and gtk-update-icon-cache is not needed
8256c5
%else
8256c5
%post gtk
8256c5
/sbin/ldconfig
8256c5
# update icon cache
8256c5
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
8256c5
8256c5
%post -p /sbin/ldconfig
8256c5
8256c5
%postun -p /sbin/ldconfig
8256c5
8256c5
%postun gtk
8256c5
/sbin/ldconfig
8256c5
if [ $1 -eq 0 ] ; then
8256c5
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
8256c5
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8256c5
fi
8256c5
8256c5
%posttrans gtk
8256c5
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8256c5
8256c5
8256c5
%post web -p /sbin/ldconfig
8256c5
8256c5
8256c5
%postun web -p /sbin/ldconfig
8256c5
%endif
8256c5
8256c5
%files -f %{name}.lang
8256c5
%doc README.md
8256c5
%license COPYING
8256c5
%config(noreplace) %{_sysconfdir}/%{name}/libreport.conf
8256c5
%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
8256c5
%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
8256c5
%config(noreplace) %{_sysconfdir}/%{name}/ignored_words.conf
8256c5
%{_datadir}/%{name}/conf.d/libreport.conf
8256c5
%{_libdir}/libreport.so.*
8256c5
%{_libdir}/libabrt_dbus.so.*
8256c5
%{_mandir}/man5/libreport.conf.5*
8256c5
%{_mandir}/man5/report_event.conf.5*
8256c5
%{_mandir}/man5/forbidden_words.conf.5*
8256c5
%{_mandir}/man5/ignored_words.conf.5*
8256c5
# filesystem package owns /usr/share/augeas/lenses directory
8256c5
%{_datadir}/augeas/lenses/libreport.aug
8256c5
8256c5
%files filesystem
8256c5
%dir %{_sysconfdir}/%{name}/
8256c5
%dir %{_sysconfdir}/%{name}/events.d/
8256c5
%dir %{_sysconfdir}/%{name}/events/
8256c5
%dir %{_sysconfdir}/%{name}/workflows.d/
8256c5
%dir %{_datadir}/%{name}/
8256c5
%dir %{_datadir}/%{name}/conf.d/
8256c5
%dir %{_datadir}/%{name}/conf.d/plugins/
8256c5
%dir %{_datadir}/%{name}/events/
8256c5
%dir %{_datadir}/%{name}/workflows/
8256c5
%dir %{_sysconfdir}/%{name}/plugins/
8256c5
8256c5
%files devel
8256c5
# Public api headers:
8256c5
%doc apidoc/html/*.{html,png,css,js}
8256c5
%{_includedir}/libreport/libreport_types.h
8256c5
%{_includedir}/libreport/client.h
8256c5
%{_includedir}/libreport/dump_dir.h
8256c5
%{_includedir}/libreport/event_config.h
8256c5
%{_includedir}/libreport/problem_data.h
8256c5
%{_includedir}/libreport/problem_report.h
8256c5
%{_includedir}/libreport/report.h
8256c5
%{_includedir}/libreport/run_event.h
8256c5
%{_includedir}/libreport/file_obj.h
8256c5
%{_includedir}/libreport/config_item_info.h
8256c5
%{_includedir}/libreport/workflow.h
8256c5
%{_includedir}/libreport/problem_details_widget.h
8256c5
%{_includedir}/libreport/problem_details_dialog.h
8256c5
%{_includedir}/libreport/problem_utils.h
8256c5
%{_includedir}/libreport/ureport.h
8256c5
%{_includedir}/libreport/reporters.h
8256c5
%{_includedir}/libreport/global_configuration.h
8256c5
# Private api headers:
8256c5
%{_includedir}/libreport/internal_abrt_dbus.h
8256c5
%{_includedir}/libreport/internal_libreport.h
8256c5
%{_includedir}/libreport/xml_parser.h
8256c5
%{_includedir}/libreport/helpers
8256c5
%{_libdir}/libreport.so
8256c5
%{_libdir}/libabrt_dbus.so
8256c5
%{_libdir}/pkgconfig/libreport.pc
8256c5
%dir %{_includedir}/libreport
8256c5
8256c5
%files web
8256c5
%{_libdir}/libreport-web.so.*
8256c5
8256c5
%files web-devel
8256c5
%{_libdir}/libreport-web.so
8256c5
%{_includedir}/libreport/libreport_curl.h
8256c5
%{_libdir}/pkgconfig/libreport-web.pc
8256c5
8256c5
%if %{with python2}
8256c5
%files -n python2-libreport
8256c5
%{python_sitearch}/report/
8256c5
%{python_sitearch}/reportclient/
8256c5
%endif # with python2
8256c5
8256c5
%if %{with python3}
8256c5
%files -n python3-libreport
8256c5
%{python3_sitearch}/report/
8256c5
%{python3_sitearch}/reportclient/
8256c5
%endif # with python3
8256c5
8256c5
%files cli
8256c5
%{_bindir}/report-cli
8256c5
%{_mandir}/man1/report-cli.1.gz
8256c5
8256c5
%files newt
8256c5
%{_bindir}/report-newt
8256c5
%{_mandir}/man1/report-newt.1.gz
8256c5
8256c5
%files gtk
8256c5
%{_bindir}/report-gtk
8256c5
%{_libdir}/libreport-gtk.so.*
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf
8256c5
%{_mandir}/man5/emergencyanalysis_event.conf.5.*
8256c5
%{_datadir}/%{name}/events/report_EmergencyAnalysis.xml
8256c5
%{_mandir}/man1/report-gtk.1.gz
8256c5
8256c5
%files gtk-devel
8256c5
%{_libdir}/libreport-gtk.so
8256c5
%{_includedir}/libreport/internal_libreport_gtk.h
8256c5
%{_libdir}/pkgconfig/libreport-gtk.pc
8256c5
8256c5
%files plugin-kerneloops
8256c5
%{_datadir}/%{name}/events/report_Kerneloops.xml
8256c5
%{_mandir}/man*/reporter-kerneloops.*
8256c5
%{_bindir}/reporter-kerneloops
8256c5
8256c5
%files plugin-logger
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf
8256c5
%{_mandir}/man5/report_Logger.conf.5.*
8256c5
%{_datadir}/%{name}/events/report_Logger.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_Logger.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_LoggerCCpp.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf
8256c5
%{_mandir}/man5/print_event.conf.5.*
8256c5
%{_mandir}/man5/report_logger.conf.5.*
8256c5
%{_bindir}/reporter-print
8256c5
%{_mandir}/man*/reporter-print.*
8256c5
8256c5
%files plugin-systemd-journal
8256c5
%{_bindir}/reporter-systemd-journal
8256c5
%{_mandir}/man*/reporter-systemd-journal.*
8256c5
8256c5
%files plugin-mailx
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
8256c5
%{_datadir}/%{name}/conf.d/plugins/mailx.conf
8256c5
%{_datadir}/%{name}/events/report_Mailx.xml
8256c5
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_Mailx.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_MailxCCpp.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf
8256c5
%{_mandir}/man5/mailx.conf.5.*
8256c5
%{_mandir}/man5/mailx_event.conf.5.*
8256c5
%{_mandir}/man5/report_mailx.conf.5.*
8256c5
%{_mandir}/man*/reporter-mailx.*
8256c5
%{_bindir}/reporter-mailx
8256c5
8256c5
%files plugin-ureport
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf
8256c5
%{_datadir}/%{name}/conf.d/plugins/ureport.conf
8256c5
%{_bindir}/reporter-ureport
8256c5
%{_mandir}/man1/reporter-ureport.1.gz
8256c5
%{_mandir}/man5/ureport.conf.5.gz
8256c5
%{_datadir}/%{name}/events/report_uReport.xml
8256c5
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml
8256c5
8256c5
%if %{with bugzilla}
8256c5
%files plugin-bugzilla
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
8256c5
%{_datadir}/%{name}/conf.d/plugins/bugzilla.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
8256c5
%{_datadir}/%{name}/events/report_Bugzilla.xml
8256c5
%{_datadir}/%{name}/events/watch_Bugzilla.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
8256c5
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml
8256c5
# FIXME: remove with the old gui
8256c5
%{_mandir}/man1/reporter-bugzilla.1.gz
8256c5
%{_mandir}/man5/report_Bugzilla.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_event.conf.5.*
8256c5
%{_mandir}/man5/bugzilla.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_format.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_formatdup.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_format_kernel.conf.5.*
8256c5
%{_bindir}/reporter-bugzilla
8256c5
%endif
8256c5
8256c5
%files plugin-mantisbt
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt.conf
8256c5
%{_datadir}/%{name}/conf.d/plugins/mantisbt.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf
8256c5
%{_bindir}/reporter-mantisbt
8256c5
%{_mandir}/man1/reporter-mantisbt.1.gz
8256c5
%{_mandir}/man5/mantisbt.conf.5.*
8256c5
%{_mandir}/man5/mantisbt_format.conf.5.*
8256c5
%{_mandir}/man5/mantisbt_formatdup.conf.5.*
8256c5
%{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5.*
8256c5
%{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5.*
8256c5
8256c5
%files centos
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSCCpp.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSKerneloops.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSPython.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSPython3.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSVmcore.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSXorg.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSLibreport.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSJava.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_CentOSJavaScript.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_centos.conf
8256c5
%{_mandir}/man5/report_centos.conf.5.*
8256c5
%{_datadir}/%{name}/events/report_CentOSBugTracker.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf
8256c5
%{_mandir}/man5/report_CentOSBugTracker.conf.5.*
8256c5
# report_CentOSBugTracker events are shipped by libreport package
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/centos_report_event.conf
8256c5
%{_mandir}/man5/centos_report_event.conf.5.gz
8256c5
8256c5
%files plugin-rhtsupport
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
8256c5
%{_datadir}/%{name}/conf.d/plugins/rhtsupport.conf
8256c5
%{_datadir}/%{name}/events/report_RHTSupport.xml
8256c5
%{_datadir}/%{name}/events/report_RHTSupport_AddData.xml
8256c5
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
8256c5
%{_mandir}/man1/reporter-rhtsupport.1.gz
8256c5
%{_mandir}/man5/rhtsupport.conf.5.*
8256c5
%{_mandir}/man5/rhtsupport_event.conf.5.*
8256c5
%{_bindir}/reporter-rhtsupport
8256c5
8256c5
%if %{with bugzilla}
8256c5
%files compat
8256c5
%{_bindir}/report
8256c5
%{_mandir}/man1/report.1.gz
8256c5
%endif
8256c5
8256c5
%files plugin-reportuploader
8256c5
%{_mandir}/man*/reporter-upload.*
8256c5
%{_mandir}/man5/uploader_event.conf.5.*
8256c5
%{_bindir}/reporter-upload
8256c5
%{_datadir}/%{name}/events/report_Uploader.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
8256c5
%{_datadir}/%{name}/workflows/workflow_Upload.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_UploadCCpp.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf
8256c5
%{_datadir}/%{name}/conf.d/plugins/upload.conf
8256c5
%{_mandir}/man5/upload.conf.5.*
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf
8256c5
%{_mandir}/man5/report_uploader.conf.5.*
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf
8256c5
%{_mandir}/man5/report_Uploader.conf.5.*
8256c5
8256c5
%if 0%{?fedora}
8256c5
%files fedora
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraPython.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraPython3.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraVmcore.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraXorg.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraLibreport.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraJava.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_FedoraJavaScript.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
8256c5
%{_mandir}/man5/report_fedora.conf.5.*
8256c5
%endif
8256c5
8256c5
%if 0%{?rhel}
8256c5
%files rhel
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELCCpp.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELKerneloops.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELPython.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELvmcore.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELxorg.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELLibreport.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELJava.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELJavaScript.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDataCCpp.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDataJava.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDataKerneloops.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDataLibreport.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDataPython.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDatavmcore.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDataxorg.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELAddDataJavaScript.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_uReport.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf
8256c5
%{_mandir}/man5/report_rhel.conf.5.*
8256c5
%{_mandir}/man5/report_uReport.conf.5.*
8256c5
8256c5
%files rhel-bugzilla
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaKerneloops.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaPython.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaVmcore.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaXorg.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaLibreport.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaJava.xml
8256c5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaJavaScript.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
8256c5
%{_mandir}/man5/report_rhel_bugzilla.conf.5.*
8256c5
8256c5
%files rhel-anaconda-bugzilla
8256c5
%{_datadir}/%{name}/workflows/workflow_AnacondaRHELBugzilla.xml
8256c5
%endif
8256c5
8256c5
%if %{with bugzilla}
8256c5
%files anaconda
8256c5
%if 0%{?fedora}
8256c5
%{_datadir}/%{name}/workflows/workflow_AnacondaFedora.xml
8256c5
%endif
8256c5
%if 0%{?rhel}
8256c5
%{_datadir}/%{name}/workflows/workflow_AnacondaRHEL.xml
8256c5
%endif
8256c5
%{_datadir}/%{name}/workflows/workflow_AnacondaUpload.xml
8256c5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf
8256c5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf
8256c5
%{_mandir}/man5/anaconda_event.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_anaconda_event.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_format_anaconda.conf.5.*
8256c5
%{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5.*
8256c5
%endif
8256c5
8256c5
%changelog
3edac2
* Tue Aug 18 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.9.5-15
3edac2
- Add patch for rhbz#1867064
3edac2
66ab24
* Fri Jul 24 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.9.5-14
66ab24
- Add patch for #1860285
66ab24
e9710e
* Mon Jun 29 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.9.5-13
e9710e
- Add patch for #1848903
e9710e
e9710e
* Wed Jun 24 2020 Michal Židek <mzidek@redhat.com> - 2.9.5-12
e9710e
- Resolves: rhbz#1835388 - abrt-addon-ccpp causes failures during openscap scans on CCE-27119-7
e9710e
- This is just libreport side (abrt also needs to be patched)
e9710e
dc14c1
* Thu Apr 16 2020 Ernestas Kulik <ekulik@redhat.com> - 2.9.5-11
dc14c1
- Add patch for #1822092
dc14c1
8256c5
* Tue Jan 21 2020 Martin Kutlak <mkutlak@redhat.com> - 2.9.5-10
8256c5
- reportclient: Search for required packages recursively
8256c5
- reportclient: Find and download required debuginfo packages
8256c5
- report-client: Find debuginfos in own method
8256c5
- Resolves: rhbz#1783897
8256c5
dc14c1
* Mon Jul 29 2019 Martin Kutlak <mkutlak@redhat.com> - 2.9.5-9
8256c5
- lib: fix a SEGV in list_possible_events()
8256c5
- Resolves: rhbz#1733515
8256c5
8256c5
* Wed Jul 24 2019 Ernestas Kulik <ekulik@redhat.com> - 2.9.5-8
8256c5
- Uncomment some patches for Coverity issues
8256c5
8256c5
* Tue Jul 16 2019 Michal Fabik <mfabik@redhat.com> 2.9.5-7
8256c5
- bugzilla: change the default bugzilla group
8256c5
- tests: Disable strcpm'ing a freed pointer
8256c5
- Add autogen.sh
8256c5
- Resolves #1660449
8256c5
8256c5
* Wed Aug 29 2018 Matej Habrnal <mhabrnal@redhat.com> 2.9.5-6
8256c5
- replace all Fedora URLs by corresponding values for RHEL
8256c5
- fix coverity issues
8256c5
- Resolves: #1602590, #1623406
8256c5
8256c5
* Thu Aug 09 2018 Matej Habrnal <mhabrnal@redhat.com> 2.9.5-5
8256c5
- Offer reporting to Bugzilla only for pre-GA Anaconda exceptions
8256c5
- Resolves: #1593734
8256c5
8256c5
* Mon Jul 16 2018 Matej Habrnal <mhabrnal@redhat.com> 2.9.5-4
8256c5
- Remove option to screencast problems and requires on fros
8256c5
8256c5
* Tue Jul 10 2018 Matej Habrnal <mhabrnal@redhat.com> 2.9.5-3
8256c5
- set PYTHON variable because of ./py-compile in
8256c5
- Make this build without /usr/bin/python
8256c5
8256c5
* Mon Apr 30 2018 Matej Habrnal <mhabrnal@redhat.com> 2.9.5-2
8256c5
- drop dependency on python-rhsm
8256c5
- Resolves: #1569595
8256c5
8256c5
* Tue Apr 24 2018 Matej Habrnal <mhabrnal@redhat.com> 2.9.5-1
8256c5
- spec: actualize according to downstream
8256c5
- spec: Conditionalize the Python2 and Python3
8256c5
- report-python: fix tests if configure --without-python2
8256c5
- autogen: correctly parse buildrequires from spec file
8256c5
8256c5
* Tue Mar 27 2018 Martin Kutlak <mkutlak@redhat.com> 2.9.4-1
8256c5
- Translation updates
8256c5
- Revert "use /usr/sbin/"
8256c5
- ureport: remove json-c is_error() usage
8256c5
- ldconfig and gtk-update-icon-cache is not needed in rawhide
8256c5
- reporter-rhtsupport: Remove dependency on redhat-access-insights
8256c5
- do not expand macro in changelog
8256c5
- move defattr which match the defaults
8256c5
- use /usr/sbin/
8256c5
- macro python_sitearch is always defined on rhel7+
8256c5
- remove rhel6 specific items and accomodate to rhel7+
8256c5
- This package uses names with ambiguous `python-` prefix in requirements.
8256c5
- reporter-{bugzilla,mantisbt,rhtsupport}: fix free
8256c5
- reporter-mailx: rely on configured email
8256c5
- spec: fix unowned directories
8256c5
- augeas: include local config path
8256c5
- doc: update to contain newly added user's local config
8256c5
- reporter-mantisbt: read configuration from user's home
8256c5
- reporter-rhtsupport: read configuration from user's home
8256c5
- reporter-bugzilla: read configuration from user's home
8256c5
- reporter-bugzilla: ask concrete bz when requiring login
8256c5
- makefile: fix make release
8256c5
8256c5
* Thu Nov 02 2017 Julius Milan <jmilan@redhat.com> 2.9.3-1
8256c5
- Translation updates
8256c5
- commit to delete
8256c5
- workflows: fix description in workflow_RHELJavaScript.xml.in
8256c5
- workflows: add workflow for adding data to existing case
8256c5
- client-python,report-python: Allow python to be optional at build time
8256c5
- ignored words: add SYSTEMD_NSS_BYPASS_BUS
8256c5
- reporter-ureport: add 'ProcessUnpackaged' option
8256c5
- spec: add workflow for adding data to existing case
8256c5
- rep-sys-journal: fix in finding executable basename
8256c5
- remove old obsolete
8256c5
- Group is not used any more
8256c5
- remove old changelogs
8256c5
- requires pythonX-dnf instead of dnf
8256c5
- doc: fix obsolete doxygen tags & complains
8256c5
- lib: Introduce pid_for_children element from ns
8256c5
- client-python: Do not try to unlink None
8256c5
- spec: rename Python binary packages
8256c5
8256c5
* Thu Mar 16 2017 Matej Habrnal <mhabrnal@redhat.com> 2.9.1-1
8256c5
- build: create tarball in release-* target
8256c5
- problem_data: fix double const
8256c5
- wizard: fix error found by -Werror=format-security
8256c5
- run_event: fix cmp between pointer and zero character
8256c5
- build: do not upload tarball to fedorahosted.org
8256c5
- spec: do not use fedorahosted.org as source
8256c5
- build: fix generating list of dependences in autogen.sh
8256c5
- build: generate new release entries with date
8256c5
- report-newt: free allocated variables, don't close dd twice
8256c5
- build: fix scratch-build target
8256c5
- changelog: reflect the PR
8256c5
- lib: several bug fixes in parsing of mountinfo
8256c5
- lib: correctly recognize chroot in container
8256c5
- lib: declare CONTAINER_ROOTS element name
8256c5
- lib: add more log wrappers for perror
8256c5
- reporter-bugzilla: use /etc/os-release for default url
8256c5
- configure.ac: Remove nss dependency
8256c5
- spec: include testsuite headers in the devel package
8256c5
- tests: include testsuite.h in the dist archive
8256c5
- maint: check pulled .po files for errors
8256c5
- build: fix bug in changelog generating in release target
8256c5
- changelog: fix typos
8256c5
8256c5
* Fri Dec 02 2016 Jakub Filak <jakub@thefilaks.net> 2.9.0-1
8256c5
- Translation updates
8256c5
- build: make the release-* targets smarter
8256c5
- add CHANGELOG.md
8256c5
- reporter-s-journal: enable SYSLOG_IDENTIFIER from env
8256c5
- report-python: add method run_event_on_problem_dir
8256c5
- lib: use lz4 instead of lz4cat
8256c5
- reportclient: honor ABRT_VERBOSE
8256c5
- tree-wide: introduce 'stop_on_not_reportable' option
8256c5
- client: add support for $releasever to debuginfo
8256c5
- lib: correct test for own root
8256c5
- workflows: run analyze_BodhiUpdates event on Fedora
8256c5
- man: fix formating
8256c5
- reporter-systemd-journal: introduce reporter-systemd-journal
8256c5
- problem_data: add function which returns all problem data keys
8256c5
- include: add exception_type element constant
8256c5
- spec: changes related to reporter-systemd-journal
8256c5
- problem_report: add normalization of crashed thread
8256c5
- problem_report: make generate report configurable
8256c5
- problem_report: use core_backtrace if there is no backtrace
8256c5
- lib: refuse to parse negative number as unsigned int
8256c5
- spec: simplify and remove old conditional
8256c5
- build: add gettext-devel to sysdeps
8256c5
- dd: add check for validity of new file FD
8256c5
- build: configure tree for debugging by default
8256c5
- spec: use %%buildroot macro
8256c5
- spec: remove defattr which match the defaults
8256c5
- spec: do not clean buildroot
8256c5
- spec: remove Groups
8256c5
- spec: code cleanup
8256c5
- lib: fix a bug in dealing with errno
8256c5
- lib: add convenient wrappers for uint in map_string_t
8256c5
- problem_report: ensure C-string null terminator
8256c5
- lib: fix invalid cgroup namespace ID
8256c5
- lib: make die function configurable
8256c5
- lib: allow using FD of /proc/[pid] instead of pid_t
8256c5
- dd: add functions for opening dd item
8256c5
- lib: add xfdopen
8256c5
- problem data: search for sensitive words in more files
8256c5
- dd: add dd_copy_file_at
8256c5
- ignored words: add "systemd-logind" and "hawkey"
8256c5
- build: reset the default version with each release
8256c5
- doc: make README more verbose
8256c5
- tree-wide: produce less messages in NOTICE log lvl
8256c5
- ureport: less confusing logging
8256c5
- spec: install JavaScript workflows
8256c5
- workflow: add JavaScript workflows
8256c5
- bugzilla: stop including package details
8256c5
8256c5
* Fri Sep 09 2016 Jakub Filak <jfilak@redhat.com> 2.8.0-1
8256c5
- lib: fix a memory leak in create_dump_dir fn
8256c5
- rhtsupport: fix a double free of config at exit
8256c5
- autogen: fix typo in usage help string
8256c5
- debuginfo: dnf API logging workarounds list
8256c5
- lib: don't warn when user word file doesn't exist
8256c5
- testuite: add test for forbidden_words
8256c5
- lib: be able to define base conf dir at runtime
8256c5
- wizard: use dnf instead of yum in add a screencast note
8256c5
- problem_report: document resevered elements
8256c5
8256c5
* Mon Jul 18 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.2-1
8256c5
- Translation updates
8256c5
- wizard: do not create reproducible if complex_detail == no
8256c5
- include: save_user_settings function declaration isn’t a prototype
8256c5
- Bugzilla: fix typo in comment don -> don't
8256c5
- client-python: fix a typo in error check
8256c5
- dd: do not log missing uid file when creating new dump dir
8256c5
- build: update searched pkg names for systemd
8256c5
8256c5
* Wed May 18 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.1-1
8256c5
- spec: compression updates
8256c5
- lib: add lz4 decompression
8256c5
- lib: avoid the need to link against lzma
8256c5
- all: format security
8256c5
- lib: add cgroup namespace
8256c5
- dd: introduce functions getting occurrence stamps
8256c5
- dd: introduce dd_get_env_variable
8256c5
- lib: add get env variable from a file
8256c5
- RHTSupport: include count in Support cases
8256c5
- lib: problem report API check fseek return code
8256c5
- ignored words: remove 'kwallet_jwakely' which I added wrongly
8256c5
8256c5
* Fri Apr 08 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.0-1
8256c5
- ignored words: update ignored words
8256c5
- mailx: introduce debug parameter -D
8256c5
- mailx: mail formatting: add comment right after %%oneline
8256c5
- mailx: use problem report api to define an emais' content
8256c5
- lib: remove unused function make_description_bz
8256c5
- augeas: trim spaces before key value
8256c5
- Revert "xml parser: be more verbose in case xml file cannot be opened"
8256c5
- xml parser: be more verbose in case xml file cannot be opened
8256c5
- spec: add workflows.d to filesystem package
8256c5
- makefile: define LANG in release target
8256c5
- mailx: stop creating dead.letter on mailx failures
8256c5
- workflows: add comments to ambiguous functions
8256c5
- workflows: NULL for the default configuration dir
8256c5
- workflows: publish the function loading configuration
8256c5
- build: fix build on Fedora24
8256c5
- augeas: exclude mantisbt format configurations
8256c5
- reporter-mantisbt: add missing '=' to conf file
8256c5
- curl: fix typo Ingoring -> Ignoring
8256c5
- rhtsupport: attach all dump dir's element to a new case
8256c5
- rhtsupport: add pkg_vendor, reproducer and reproducible to description
8256c5
- report client: add silent mode to clean_up()
8256c5
- doc: add documentation for requires-details attribute
8256c5
- rhtsupport: Discourage users from reporting in non Red Hat stuff
8256c5
- rhtsupport: Discourage users from opening one-shot crashes
8256c5
- report-gtk: Require Reproducer for RHTSupport
8256c5
- Add workflow for RHEL anonymous report
8256c5
- spec: add workflow for RHEL anonymous report files
8256c5
- wizard: fix the broken widget expansion
8256c5
- dd: add documentation of dd_create_skeleton
8256c5
- workflow: add extern C to the header file
8256c5
- Fix minor typos
8256c5
- Translation updates
8256c5
- translations: update zanata configuration
8256c5
- wizard: fix the broken "Show log" widget
8256c5
- wizard: remove the code correcting Bugzilla groups
8256c5
8256c5
* Tue Feb 02 2016 Matej Habrnal <mhabrnal@redhat.com> 2.6.4-1
8256c5
- doc: add option -o and -O into reporter-ureport man page
8256c5
- rhtsupport: use problme report API to create description
8256c5
- bugzilla: make the event configurable
8256c5
- report-gtk: offer users to create private ticket
8256c5
- bugzilla|centos: declare 'restricted access' support
8256c5
- event config: add support for 'restricted access'
8256c5
- lib: move CREATE_PRIVATE_TICKET to the global configuration
8256c5
- dd: dd_delete_item does not die
8256c5
- dd: add function getting stat of item
8256c5
- dd: correct handling of TYPE when creating dump directory
8256c5
- dd: add function computing dump dir file system size
8256c5
- dd: add function counting number of dd items
8256c5
- dd: add function copying file descriptor to element
8256c5
- dd: allow 1 and 2 letter long element names
8256c5
- problem_data: factor out function reading single problem element
8256c5
- formatdup: more universal comment
8256c5
- dd: make function uid_in_group() public
8256c5
- Refactoring conditional directives that break parts of statements.
8256c5
- bugzilla: actualize man pages
8256c5
- bugzilla: don't report private problem as comment
8256c5
- uploader: move username and password to the advanced options
8256c5
- uploader: allow empty username and password
8256c5
- spec: add uploader config files and related man page
8256c5
- uploader: add possibility to set SSH keyfiles
8256c5
- curl: add possibility to configure SSH keys
8256c5
- desktop-utils: deal with Destkop files without command line
8256c5
- ureport: enable attaching of arbitrary values
8256c5
- update .gitignore
8256c5
- uploader: save remote name in reported_to
8256c5
- curl: return URLs without userinfo
8256c5
- lib: add function for removing userinfo from URIs
8256c5
- plugins: port reporters to add_reported_to_entry
8256c5
- reported_to: add a function formatting reported_to lines
8256c5
- lib: introduce parser of ISO date strings
8256c5
- uploader: use shared dd_create_archive function
8256c5
- dd: add a function for compressing dumpdirs
8256c5
- problem_report: add examples to the documentation
8256c5
- client: document environment variables
8256c5
8256c5
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.3-1
8256c5
- wizard: correct comments in save_text_if_changed()
8256c5
- events: improve example
8256c5
- reporter-bugzilla: add parameter -p
8256c5
- wizard: fix save users changes after reviewing dump dir files
8256c5
- dd: make function load_text_file non-static
8256c5
- bugzilla: don't attach build_ids
8256c5
- run_event: rewrite event rule parser
8256c5
- dd: add convenience wrappers fro loading numbers
8256c5
- ureport: improve curl's error messages
8256c5
- ureport: use Red Hat Certificate Authority to make rhsm cert trusted
8256c5
- curl: add posibility to use own Certificate Authority cert
8256c5
- spec: add redhat-access-insights to Requires of l-p-rhtsupport
8256c5
- bugzilla: put VARIANT_ID= to Whiteboard
8256c5
- autogen: use dnf instead of yum to install dependencies
8256c5
- configure: use hex value for dump dir mode
8256c5
- curl: add a helper for HTTP GET
8256c5
- dd: don't warn about missing 'type' if the locking fails
8256c5
- dd: stop warning about corrupted mandatory files
8256c5
- Use a dgettext function returning strings instead of bytes