]> git.pld-linux.org Git - packages/python-faulthandler.git/blame_incremental - python-faulthandler.spec
- up to 3.0
[packages/python-faulthandler.git] / python-faulthandler.spec
... / ...
CommitLineData
1%define module faulthandler
2Summary: Display the Python traceback on a crash
3Name: python-faulthandler
4Version: 3.0
5Release: 1
6License: BSD
7Group: Development/Languages/Python
8Source0: https://github.com/haypo/faulthandler/archive/faulthandler-%{version}.tar.gz
9# Source0-md5: bd628242274c7294c36112bb744a83cf
10URL: http://faulthandler.readthedocs.io/
11BuildRequires: python-devel
12BuildRequires: python-modules
13BuildRequires: rpm-pythonprov
14BuildRequires: rpmbuild(macros) >= 1.710
15Requires: python
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Fault handler for SIGSEGV, SIGFPE, SIGBUS and SIGILL signals: display
20the Python backtrace and restore the previous handler. Allocate an
21alternate stack for this handler, if sigaltstack() is available, to be
22able to allocate memory on the stack, even on stack overflow.
23
24%prep
25%setup -q -n %{module}-%{module}-%{version}
26
27%build
28%py_build
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33%py_install
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
40%doc AUTHORS README.rst TODO
41%attr(755,root,root) %{py_sitedir}/%{module}.so
42%{py_sitedir}/*egg-info
43%{py_sitedir}/faulthandler.pth
This page took 0.077003 seconds and 4 git commands to generate.