Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów
Name: libreport
Version: 2.9.5
-Release: 1
+Release: 7
License: GPL v2+
Group: Libraries
Source0: https://github.com/abrt/libreport/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: libtar-devel
BuildRequires: libtool >= 1:1.4.2
BuildRequires: libxml2-devel >= 2
+%{?with_tests:BuildRequires: lz4}
+BuildRequires: lz4-devel
BuildRequires: newt-devel
BuildRequires: nss-devel
BuildRequires: pkgconfig
# set_echo test from client.at fails on builders due to forkpty()
%{__sed} -i -e '/client\.at/d' tests/testsuite.at
+# process_has_own_root randomly fails in chroot environment
+%{__sed} -i -e '/proc_helpers\.at/d' tests/testsuite.at
%build
%{__gettextize}
%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la
%endif
%if %{with python3}
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report*/*.la
# automake uses $PYTHON for both versions, recompile using python3
%py_postclean %{py3_sitedir}
%py3_comp $RPM_BUILD_ROOT%{py3_sitedir}