[packages/python-jupyter_core] - don't package unit tests; release 2
qboosh
qboosh at pld-linux.org
Sun Sep 29 20:14:03 CEST 2019
commit 139c472debbf736f1890e55c6c7c48311ba1aacc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 29 20:17:10 2019 +0200
- don't package unit tests; release 2
python-jupyter_core.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-jupyter_core.spec b/python-jupyter_core.spec
index 48419e5..1c63a94 100644
--- a/python-jupyter_core.spec
+++ b/python-jupyter_core.spec
@@ -9,7 +9,7 @@ Summary: Core common functionality of Jupyter projects
Summary(pl.UTF-8): Główna, wspólna funkcjonalność projektów Jupyter
Name: python-jupyter_core
Version: 4.5.0
-Release: 1
+Release: 2
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/jupyter_core/
@@ -147,6 +147,7 @@ for f in $RPM_BUILD_ROOT%{_bindir}/jupyter* ; do
done
%py_postclean
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/jupyter_core/tests
%endif
%if %{with python3}
@@ -155,6 +156,8 @@ done
for f in $RPM_BUILD_ROOT%{_bindir}/jupyte*[!2] ; do
%{__mv} "$f" "${f}-3"
done
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/jupyter_core/tests
%endif
install -d $RPM_BUILD_ROOT{%{bash_compdir},%{zsh_compdir}}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-jupyter_core.git/commitdiff/139c472debbf736f1890e55c6c7c48311ba1aacc
More information about the pld-cvs-commit
mailing list