]> git.pld-linux.org Git - packages/python-faulthandler.git/blame - python-faulthandler.spec
- up to 3.0
[packages/python-faulthandler.git] / python-faulthandler.spec
CommitLineData
27f78cf2 1%define module faulthandler
27f78cf2
AM
2Summary: Display the Python traceback on a crash
3Name: python-faulthandler
68bebc9c
AM
4Version: 3.0
5Release: 1
27f78cf2
AM
6License: BSD
7Group: Development/Languages/Python
68bebc9c
AM
8Source0: https://github.com/haypo/faulthandler/archive/faulthandler-%{version}.tar.gz
9# Source0-md5: bd628242274c7294c36112bb744a83cf
10URL: http://faulthandler.readthedocs.io/
27f78cf2
AM
11BuildRequires: python-devel
12BuildRequires: python-modules
13BuildRequires: rpm-pythonprov
68bebc9c 14BuildRequires: rpmbuild(macros) >= 1.710
27f78cf2
AM
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
68bebc9c 25%setup -q -n %{module}-%{module}-%{version}
27f78cf2
AM
26
27%build
2aee31bb 28%py_build
27f78cf2
AM
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
2aee31bb 33%py_install
27f78cf2
AM
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
68bebc9c 40%doc AUTHORS README.rst TODO
27f78cf2
AM
41%attr(755,root,root) %{py_sitedir}/%{module}.so
42%{py_sitedir}/*egg-info
68bebc9c 43%{py_sitedir}/faulthandler.pth
This page took 0.223452 seconds and 4 git commands to generate.