Hello community,

here is the log from the commit of package python-jupyter_dashboards for 
openSUSE:Factory checked in at 2018-06-15 14:45:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_dashboards (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter_dashboards.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_dashboards"

Fri Jun 15 14:45:55 2018 rev:2 rq:616073 version:0.7.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_dashboards/python-jupyter_dashboards.changes
      2018-06-03 12:35:38.049444222 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_dashboards.new/python-jupyter_dashboards.changes
 2018-06-15 14:45:58.037017988 +0200
@@ -1,0 +2,10 @@
+Sun Jun 10 10:38:51 UTC 2018 - [email protected]
+
+- Avoid bashim in scriptlet
+
+-------------------------------------------------------------------
+Tue May 29 14:59:34 UTC 2018 - [email protected]
+
+- Use || true syntax instead of exit 0
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter_dashboards.spec ++++++
--- /var/tmp/diff_new_pack.KveT2B/_old  2018-06-15 14:45:58.952984482 +0200
+++ /var/tmp/diff_new_pack.KveT2B/_new  2018-06-15 14:45:58.960984189 +0200
@@ -13,6 +13,7 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,10 +21,10 @@
 Name:           python-jupyter_dashboards
 Version:        0.7.0
 Release:        0
-License:        BSD-3-Clause
 Summary:        Extension for using Jupyter Notebooks as dynamic dashboards
-Url:            https://github.com/jupyter/dashboards
+License:        BSD-3-Clause
 Group:          Development/Languages/Python
+Url:            https://github.com/jupyter/dashboards
 Source:         
https://files.pythonhosted.org/packages/source/j/jupyter_dashboards/jupyter_dashboards-%{version}.tar.gz
 BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module devel}
@@ -88,14 +89,12 @@
 %python_expand %fdupes %{buildroot}%{_datadir}/jupyter/nbextensions/
 
 %post -n python3-jupyter_dashboards
-jupyter nbextension enable --system --py jupyter_dashboards
-exit 0
+jupyter nbextension enable --system --py jupyter_dashboards || true
 
 %preun -n python3-jupyter_dashboards
-if [ $1 == 0 ]   && [ -d %{python3_sitelib}/jupyter_dashboards/ ] ; then
-    jupyter nbextension disable --system --py jupyter_dashboards
+if [ $1 = 0 ] && [ -d %{python3_sitelib}/jupyter_dashboards/ ] ; then
+    jupyter nbextension disable --system --py jupyter_dashboards || true
 fi
-exit 0
 
 %if %{with test}
 %check


Reply via email to