%define module faulthandler
Summary: Display the Python traceback on a crash
Name: python-faulthandler
-Version: 2.3
-Release: 3
+Version: 3.0
+Release: 1
License: BSD
Group: Development/Languages/Python
-Source0: http://pypi.python.org/packages/source/f/faulthandler/faulthandler-%{version}.tar.gz
-# Source0-md5: 76d1344adc2302cf5c59a5f8a4f4f4ae
-URL: https://github.com/haypo/faulthandler/wiki
-BuildRequires: rpmbuild(macros) >= 1.710
+Source0: https://github.com/haypo/faulthandler/archive/faulthandler-%{version}.tar.gz
+# Source0-md5: bd628242274c7294c36112bb744a83cf
+URL: http://faulthandler.readthedocs.io/
BuildRequires: python-devel
BuildRequires: python-modules
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.710
Requires: python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
able to allocate memory on the stack, even on stack overflow.
%prep
-%setup -q -n %{module}-%{version}
+%setup -q -n %{module}-%{module}-%{version}
%build
%py_build
%files
%defattr(644,root,root,755)
-%doc AUTHORS PKG-INFO README TODO
+%doc AUTHORS README.rst TODO
%attr(755,root,root) %{py_sitedir}/%{module}.so
%{py_sitedir}/*egg-info
+%{py_sitedir}/faulthandler.pth