Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9e0b0bed9 | ||
|
|
489e228be7 |
3 changed files with 17 additions and 83 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -85,5 +85,3 @@ abrt-1.1.13.tar.gz
|
|||
/abrt-2.17.4.tar.gz
|
||||
/abrt-2.17.5.tar.gz
|
||||
/abrt-2.17.6.tar.gz
|
||||
/abrt-2.17.7.tar.gz
|
||||
/abrt-2.17.8.tar.gz
|
||||
|
|
|
|||
96
abrt.spec
96
abrt.spec
|
|
@ -9,13 +9,6 @@
|
|||
%bcond_with python3
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10
|
||||
%bcond_with container_handler
|
||||
%else
|
||||
%bcond_without container_handler
|
||||
%endif
|
||||
|
||||
|
||||
%if 0%{?rhel}%{?suse_version}
|
||||
%bcond_with bodhi
|
||||
%else
|
||||
|
|
@ -56,8 +49,8 @@
|
|||
|
||||
Summary: Automatic bug detection and reporting tool
|
||||
Name: abrt
|
||||
Version: 2.17.8
|
||||
Release: 2%{?dist}
|
||||
Version: 2.17.6
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://abrt.readthedocs.org/
|
||||
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
|
@ -66,7 +59,7 @@ BuildRequires: %{dbus_devel}
|
|||
BuildRequires: hostname
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: glib2-devel >= %{glib_ver}
|
||||
BuildRequires: rpm-devel >= 6.0.0
|
||||
BuildRequires: rpm-devel >= 4.18
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libnotify-devel
|
||||
#why? BuildRequires: file-devel
|
||||
|
|
@ -90,6 +83,12 @@ BuildRequires: python3-devel
|
|||
BuildRequires: python3-systemd
|
||||
BuildRequires: python3-argcomplete
|
||||
BuildRequires: python3-dbus
|
||||
|
||||
%if 0%{?fedora}
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
||||
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
||||
BuildRequires: /usr/bin/marshalparser
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Requires: libreport >= %{libreport_ver}
|
||||
|
|
@ -118,11 +117,6 @@ Requires: libreport-plugin-systemd-journal
|
|||
%endif
|
||||
# to fix upgrade path abrt-plugin-sosreport was removed in 2.14.5 version.
|
||||
Obsoletes: abrt-plugin-sosreport < 2.14.5
|
||||
# fros was retired 2025-07, and was initially added to comps to support
|
||||
# abrt-desktop, so let's obsolete it here
|
||||
Obsoletes: fros < 1.1-42
|
||||
Obsoletes: fros-gnome < 1.1-42
|
||||
Obsoletes: fros-recordmydesktop < 1.1-42
|
||||
|
||||
#gui
|
||||
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
|
||||
|
|
@ -254,11 +248,7 @@ log.
|
|||
Summary: %{name}'s vmcore addon
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: abrt-addon-kerneloops
|
||||
# On riscv64, kexec-tools does not compile:
|
||||
# "configure: error: unsupported architecture riscv64"
|
||||
%ifnarch riscv64
|
||||
Requires: kexec-tools
|
||||
%endif
|
||||
%if %{with python3}
|
||||
Requires: python3-abrt
|
||||
Requires: python3-augeas
|
||||
|
|
@ -305,7 +295,6 @@ Requires: python3-abrt
|
|||
This package contains python 3 hook and python analyzer plugin for handling
|
||||
uncaught exception in python 3 programs.
|
||||
|
||||
%if %{with container_handler}
|
||||
%package -n python3-abrt-container-addon
|
||||
Summary: %{name}'s container addon for catching Python 3 exceptions
|
||||
BuildArch: noarch
|
||||
|
|
@ -317,8 +306,6 @@ This package contains python 3 hook and handling uncaught exception in python 3
|
|||
programs in container.
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
%package plugin-machine-id
|
||||
Summary: %{name}'s plugin to generate machine_id based off dmidecode
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
|
@ -474,13 +461,6 @@ to the shell
|
|||
%global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
|
||||
%autosetup -S git -p 0
|
||||
|
||||
# Create a sysusers.d config file
|
||||
#uidgid pair 173:173 reserved in setup rhbz#670231
|
||||
%global abrt_gid_uid 173
|
||||
cat >abrt.sysusers.conf <<EOF
|
||||
u abrt %{abrt_gid_uid} - /etc/abrt -
|
||||
EOF
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
||||
|
|
@ -538,20 +518,11 @@ ln -sf %{_datadir}/applications/org.freedesktop.problems.applet.desktop %{buildr
|
|||
%if %{with python3}
|
||||
ln -sf %{_bindir}/abrt %{buildroot}%{_bindir}/abrt-cli
|
||||
ln -sf %{_mandir}/man1/abrt.1 %{buildroot}%{_mandir}/man1/abrt-cli.1
|
||||
|
||||
%if ! %{with container_handler}
|
||||
rm -vf %{buildroot}%{python3_sitelib}/abrt3_container.pth
|
||||
rm -vf %{buildroot}%{python3_sitelib}/abrt_exception_handler3_container.py
|
||||
rm -vf %{buildroot}%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.*
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
# After everything is installed, remove info dir
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
|
||||
install -m0644 -D abrt.sysusers.conf %{buildroot}%{_sysusersdir}/abrt.conf
|
||||
|
||||
%check
|
||||
make check|| {
|
||||
# find and print the logs of failed test
|
||||
|
|
@ -561,6 +532,13 @@ make check|| {
|
|||
exit 1
|
||||
}
|
||||
|
||||
%pre
|
||||
#uidgid pair 173:173 reserved in setup rhbz#670231
|
||||
%define abrt_gid_uid 173
|
||||
getent group abrt >/dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt
|
||||
getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt
|
||||
exit 0
|
||||
|
||||
%post
|
||||
# $1 == 1 if install; 2 if upgrade
|
||||
%systemd_post abrtd.service
|
||||
|
|
@ -760,7 +738,6 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
|||
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
|
||||
%{_mandir}/man5/gpg_keys.conf.5*
|
||||
%{_mandir}/man8/abrtd.8*
|
||||
%{_sysusersdir}/abrt.conf
|
||||
|
||||
%files libs
|
||||
%{_libdir}/libabrt.so.*
|
||||
|
|
@ -921,15 +898,12 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
|||
%{python3_sitelib}/abrt_exception_handler3.py
|
||||
%{python3_sitelib}/__pycache__/abrt_exception_handler3.*
|
||||
|
||||
%if %{with container_handler}
|
||||
%files -n python3-abrt-container-addon
|
||||
%{python3_sitelib}/abrt3_container.pth
|
||||
%{python3_sitelib}/abrt_exception_handler3_container.py
|
||||
%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.*
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
%files plugin-machine-id
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
|
||||
%{_libexecdir}/abrt-action-generate-machine-id
|
||||
|
|
@ -994,44 +968,6 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
|||
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Thu Dec 04 2025 Michal Srb <michal@redhat.com> - 2.17.8-1
|
||||
- a-a-save-container-data: validate input
|
||||
- Resolves: CVE-2025-12744
|
||||
|
||||
* Thu Oct 02 2025 Michal Srb <michal@redhat.com> - 2.17.7-1
|
||||
- Update to upstream release 2.17.7
|
||||
- Fix reading gpg keys with RPM 6.0.0 (rhbz#2396899)
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.17.6-10
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.17.6-9
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Fri Aug 01 2025 Adam Williamson <awilliam@redhat.com> - 2.17.6-8
|
||||
- Obsolete fros packages
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.6-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.17.6-6
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.17.6-5
|
||||
- Add sysusers.d config file to allow rpm to create users/groups automatically
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Nov 20 2024 David Abdurachmanov <davidlt@rivosinc.com> - 2.17.6-3
|
||||
- Disable Requires for kexec-tools on riscv64 (not supported)
|
||||
|
||||
* Wed Sep 11 2024 Neal Gompa <ngompa@fedoraproject.org> - 2.17.6-2
|
||||
- Drop container handler (rhbz#2295150)
|
||||
|
||||
* Sun Sep 01 2024 Michal Srb <michal@redhat.com> - 2.17.6-1
|
||||
- Update to upstream release 2.17.6
|
||||
- Fix reading signature information from RPM headers (rhbz#2307278)
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (abrt-2.17.8.tar.gz) = 90b74229412e0186bfa109ee940a60c9f3c0f7ce8c1216acad6f05619a1bb591e7f0bae87363143a05034312c9f14fe5ace341b84f680780ceb93a1e624705b3
|
||||
SHA512 (abrt-2.17.6.tar.gz) = 1e3729187c609f72e6d72c91815fc74e9ff8bed14dd678c093e4c47eafecb4e00fbe0b185e3a1ece614b994302c35de6a171449d5e80157a4fee16ccc7e60277
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue