]> git.pld-linux.org Git - packages/python-jupyter_client.git/commitdiff
- don't package unit tests; release 2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Sep 2019 18:36:02 +0000 (20:36 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Sep 2019 18:36:02 +0000 (20:36 +0200)
python-jupyter_client.spec

index f2506d75c578b07a52e69d3ebf5e6bdf41ee9ada..1534a904ad8d54cdb3ed9b7cd38d94cf2712ec72 100644 (file)
@@ -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
This page took 0.133219 seconds and 4 git commands to generate.