[packages/python-jupyter_client] - don't package unit tests; release 2
qboosh
qboosh at pld-linux.org
Sun Sep 29 20:32:53 CEST 2019
commit a0c919c3648e700f70c41d05d2c521572af527e5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 29 20:36:02 2019 +0200
- don't package unit tests; release 2
python-jupyter_client.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-jupyter_client.spec b/python-jupyter_client.spec
index f2506d7..1534a90 100644
--- a/python-jupyter_client.spec
+++ b/python-jupyter_client.spec
@@ -9,7 +9,7 @@ Summary: Reference implementation of the Jupyter protocol
Summary(pl.UTF-8): Referencyjna implementacja protokołu Jupyter
Name: python-jupyter_client
Version: 5.3.3
-Release: 1
+Release: 2
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/jupyter_client/
@@ -121,6 +121,7 @@ for f in $RPM_BUILD_ROOT%{_bindir}/jupyter-* ; do
done
%py_postclean
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/jupyter_client/tests
%endif
%if %{with python3}
@@ -129,6 +130,8 @@ done
for f in $RPM_BUILD_ROOT%{_bindir}/jupyter-*[!2] ; do
%{__mv} "$f" "${f}-3"
done
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/jupyter_client/tests
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-jupyter_client.git/commitdiff/a0c919c3648e700f70c41d05d2c521572af527e5
More information about the pld-cvs-commit
mailing list