Hello community,

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

Package is "python-jupyter_nbextensions_configurator"

Fri Jun 15 14:46:22 2018 rev:2 rq:616082 version:0.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_nbextensions_configurator/python-jupyter_nbextensions_configurator.changes
        2018-06-03 12:36:09.384297046 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_nbextensions_configurator.new/python-jupyter_nbextensions_configurator.changes
   2018-06-15 14:46:23.072102211 +0200
@@ -1,0 +2,10 @@
+Sun Jun 10 11:08:59 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_nbextensions_configurator.spec ++++++
--- /var/tmp/diff_new_pack.QcfK9m/_old  2018-06-15 14:46:24.720041930 +0200
+++ /var/tmp/diff_new_pack.QcfK9m/_new  2018-06-15 14:46:24.724041783 +0200
@@ -13,6 +13,7 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 # geckodriver not available
@@ -22,15 +23,15 @@
 Name:           python-jupyter_nbextensions_configurator
 Version:        0.4.0
 Release:        0
-License:        BSD-3-Clause
 Summary:        Configuration interfaces for nbextensions
-Url:            
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator
+License:        BSD-3-Clause
 Group:          Development/Languages/Python
+Url:            
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator
 Source:         
https://files.pythonhosted.org/packages/source/j/jupyter_nbextensions_configurator/jupyter_nbextensions_configurator-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 %if %{with tests}
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module jupyter_contrib_core >= 0.3.3}
@@ -90,14 +91,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %post -n python3-jupyter_nbextensions_configurator
-%{_bindir}/jupyter-nbextensions_configurator enable --system
-exit 0
+%{_bindir}/jupyter-nbextensions_configurator enable --system || true
 
 %preun -n python3-jupyter_nbextensions_configurator
-if [ $1 == 0 ]   && [ -f %{_bindir}/jupyter-nbextensions_configurator ] ; then
-    %{_bindir}/jupyter-nbextensions_configurator disable --system
+if [ $1 = 0 ] && [ -f %{_bindir}/jupyter-nbextensions_configurator ] ; then
+    %{_bindir}/jupyter-nbextensions_configurator disable --system || true
 fi
-exit 0
 
 %if %{with tests}
 %check


Reply via email to