Hello community,
here is the log from the commit of package python-jupyter_jupyterlab_templates
for openSUSE:Factory checked in at 2018-06-15 14:46:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_jupyterlab_templates (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_jupyterlab_templates.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_jupyterlab_templates"
Fri Jun 15 14:46:29 2018 rev:2 rq:616084 version:0.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_jupyterlab_templates/python-jupyter_jupyterlab_templates.changes
2018-06-03 12:35:46.385139051 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_jupyterlab_templates.new/python-jupyter_jupyterlab_templates.changes
2018-06-15 14:46:31.151806657 +0200
@@ -1,0 +2,10 @@
+Sun Jun 10 23:46:20 UTC 2018 - [email protected]
+
+- Avoid bashism in scriptlet.
+
+-------------------------------------------------------------------
+Tue May 29 14:59:34 UTC 2018 - [email protected]
+
+- Use || true syntax instead of exit 0
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_jupyterlab_templates.spec ++++++
--- /var/tmp/diff_new_pack.RJjshE/_old 2018-06-15 14:46:32.335763348 +0200
+++ /var/tmp/diff_new_pack.RJjshE/_new 2018-06-15 14:46:32.339763202 +0200
@@ -54,14 +54,12 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post -n python3-jupyter_jupyterlab_templates
-jupyter serverextension enable --system --py jupyterlab_templates
-exit 0
+jupyter serverextension enable --system --py jupyterlab_templates || true
%preun -n python3-jupyter_jupyterlab_templates
-if [ $1 == 0 ] && [ -d %{python3_sitelib}/jupyterlab_templates/ ] ; then
- jupyter serverextension disable --system --py jupyterlab_templates
+if [ $1 = 0 ] && [ -d %{python3_sitelib}/jupyterlab_templates/ ] ; then
+ jupyter serverextension disable --system --py jupyterlab_templates || true
fi
-exit 0
%files %{python_files}
%doc README.md