7fd0305
Name:           systemd-coredump-python
7fd0305
Version:        2
02f6aed
Release:        18%{?dist}
7fd0305
Summary:        systemd-coredump helper to log Python exceptions
7fd0305
7fd0305
License:        GPLv2+
7fd0305
URL:            https://github.com/systemd/systemd-coredump-python
7fd0305
Source0:        https://github.com/systemd/systemd-coredump-python/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
2f6678d
Patch1:         0001-In-demo-mode-do-not-install-handler-manually.patch
7fd0305
7fd0305
BuildRequires:  python3-devel
7fd0305
7fd0305
BuildArch:      noarch
7fd0305
7fd0305
%global _description \
7fd0305
Python module which hooks into the sys.excepthook to log backtraces \
7fd0305
in the journal.
7fd0305
7fd0305
%description %_description
7fd0305
7fd0305
%package -n python3-systemd-coredump
7fd0305
Summary:        %{summary}
7fd0305
Conflicts:      systemd < 233
7fd0305
7fd0305
%{?python_provide:%python_provide python3-systemd-coredump}
7fd0305
7fd0305
%description -n python3-systemd-coredump %_description
7fd0305
7fd0305
%prep
7fd0305
%autosetup -p1
7fd0305
7fd0305
# I messed that up, it'll be fixed in next release, pinky promise
7fd0305
sed -i "s/'1'/'2'/" setup.py
7fd0305
7fd0305
%build
7fd0305
%py3_build
7fd0305
7fd0305
%install
7fd0305
%py3_install
7fd0305
7fd0305
# %%check
7fd0305
# there are no useful checks, the stuff in tests/ is only useful for development so far
7fd0305
7fd0305
%files -n python3-systemd-coredump
7fd0305
%license COPYING
7fd0305
%doc README
7fd0305
%{python3_sitelib}/systemd_coredump_exception_handler.py
7fd0305
%{python3_sitelib}/__pycache__/*
7fd0305
%{python3_sitelib}/systemd_coredump.pth
7fd0305
%{python3_sitelib}/systemd_coredump_python-%{version}-py%{python3_version}.egg-info
7fd0305
7fd0305
%changelog
02f6aed
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2-18
02f6aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
02f6aed
311a516
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2-17
311a516
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
311a516
9a48f7b
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2-16
9a48f7b
- Rebuilt for Python 3.10
9a48f7b
155f33a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2-15
155f33a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
155f33a
2270670
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2-14
2270670
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2270670
97c8ae3
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2-13
97c8ae3
- Rebuilt for Python 3.9
97c8ae3
ecca6cb
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2-12
ecca6cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ecca6cb
04f7628
* Wed Oct 30 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2-11
04f7628
- Subpackage python2-systemd-coredump has been removed,
04f7628
  https://fedoraproject.org/wiki/Changes/RetirePython2.
04f7628
79d9fb9
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2-10
79d9fb9
- Rebuilt for Python 3.8.0rc1 (#1748018)
79d9fb9
7bbb715
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2-9
7bbb715
- Rebuilt for Python 3.8
7bbb715
045a849
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2-8
045a849
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
045a849
e0c3343
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2-7
e0c3343
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e0c3343
968177f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2-6
968177f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
968177f
a2c0be6
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2-5
a2c0be6
- Rebuilt for Python 3.7
a2c0be6
84f3f0a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2-4
84f3f0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
84f3f0a
9738293
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-3
9738293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9738293
2f6678d
* Wed Mar 15 2017 zbyszek <zbyszek@in.waw.pl> - 2-2
2f6678d
- Add small patch to avoid logging the exception twice in demo mode
2f6678d
7fd0305
* Sun Mar  5 2017 zbyszek <zbyszek@in.waw.pl> - 2-1
7fd0305
- Initial packaging