Blame SPECS/libreport.spec

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