[packages/python-faulthandler] - use rpm python macros - rel 3
baggins
baggins at pld-linux.org
Sat May 7 21:18:11 CEST 2016
commit 2aee31bbcfd82a0fd57d0d576e67feb003f2f0c2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat May 7 21:17:56 2016 +0200
- use rpm python macros
- rel 3
python-faulthandler.spec | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/python-faulthandler.spec b/python-faulthandler.spec
index 5c52089..b27db13 100644
--- a/python-faulthandler.spec
+++ b/python-faulthandler.spec
@@ -1,9 +1,8 @@
%define module faulthandler
-#
Summary: Display the Python traceback on a crash
Name: python-faulthandler
Version: 2.3
-Release: 2
+Release: 3
License: BSD
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/f/faulthandler/faulthandler-%{version}.tar.gz
@@ -23,19 +22,15 @@ 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}-%{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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-faulthandler.git/commitdiff/2aee31bbcfd82a0fd57d0d576e67feb003f2f0c2
More information about the pld-cvs-commit
mailing list