[packages/python-mpmath] - don't package tests; release 2
qboosh
qboosh at pld-linux.org
Thu Sep 12 20:06:25 CEST 2019
commit d610cd47d5c64ddf7d432e81d3cf8c859423d7c9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Sep 12 20:09:19 2019 +0200
- don't package tests; release 2
python-mpmath.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-mpmath.spec b/python-mpmath.spec
index 6f495e2..90e67b1 100644
--- a/python-mpmath.spec
+++ b/python-mpmath.spec
@@ -9,7 +9,7 @@ Summary: A pure Python library for multiprecision floating-point arithmetic
Summary(pl.UTF-8): Czysto pythonowa biblioteka do arytmetyki zmiennoprzecinkowej wielokrotnej precyzji
Name: python-mpmath
Version: 1.1.0
-Release: 1
+Release: 2
License: BSD
Group: Libraries/Python
# pypi release is missing docs
@@ -158,10 +158,13 @@ rm -rf $RPM_BUILD_ROOT
%py_install
%py_postclean
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/mpmath/tests
%endif
%if %{with python3}
%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/mpmath/tests
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mpmath.git/commitdiff/d610cd47d5c64ddf7d432e81d3cf8c859423d7c9
More information about the pld-cvs-commit
mailing list