]> git.pld-linux.org Git - packages/python-faulthandler.git/blobdiff - python-faulthandler.spec
- up to 3.0
[packages/python-faulthandler.git] / python-faulthandler.spec
index be6d04b69518eb97725b78819c12c305545e7025..33ef4506df616abd74fb163e7589ce8ac6807f31 100644 (file)
@@ -1,17 +1,17 @@
 %define        module  faulthandler
-#
 Summary:       Display the Python traceback on a crash
 Name:          python-faulthandler
-Version:       2.3
-Release:       2
+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
+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)
 
@@ -22,25 +22,22 @@ alternate stack for this handler, if sigaltstack() is available, to be
 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 --build-base py2
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py_build \
-       --build-base py2 \
-       install \
-       --optimize 2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.075717 seconds and 4 git commands to generate.