Hello community,

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

Package is "python-jupyter_highlight_selected_word"

Tue Jun 19 11:55:30 2018 rev:2 rq:616077 version:0.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_highlight_selected_word/python-jupyter_highlight_selected_word.changes
    2018-06-03 12:37:19.169742178 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_highlight_selected_word.new/python-jupyter_highlight_selected_word.changes
       2018-06-19 11:55:32.968107845 +0200
@@ -1,0 +2,10 @@
+Sun Jun 10 11:04:44 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_highlight_selected_word.spec ++++++
--- /var/tmp/diff_new_pack.xjkGGA/_old  2018-06-19 11:55:33.504087946 +0200
+++ /var/tmp/diff_new_pack.xjkGGA/_new  2018-06-19 11:55:33.508087798 +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-%{**}}
@@ -21,10 +22,10 @@
 Name:           python-jupyter_highlight_selected_word
 Version:        0.2.0
 Release:        0
-License:        BSD-3-Clause
 Summary:        Highlight every instance of the current word in a Jupyter 
notebook
-Url:            https://github.com/jcb91/jupyter_highlight_selected_word
+License:        BSD-3-Clause
 Group:          Development/Languages/Python
+Url:            https://github.com/jcb91/jupyter_highlight_selected_word
 Source:         
https://files.pythonhosted.org/packages/source/j/jupyter_highlight_selected_word/jupyter_highlight_selected_word-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
@@ -67,14 +68,12 @@
 %python_expand %fdupes %{buildroot}%{_datadir}/jupyter/nbextensions/
 
 %post -n python3-jupyter_highlight_selected_word
-jupyter nbextension enable --system --py jupyter_highlight_selected_word
-exit 0
+jupyter nbextension enable --system --py jupyter_highlight_selected_word || 
true
 
 %preun -n python3-jupyter_highlight_selected_word
-if [ $1 == 0 ]   && [ -d %{python3_sitelib}/jupyter_highlight_selected_word/ ] 
; then
-    jupyter nbextension disable --system --py jupyter_highlight_selected_word
+if [ $1 = 0 ] && [ -d %{python3_sitelib}/jupyter_highlight_selected_word/ ] ; 
then
+    jupyter nbextension disable --system --py jupyter_highlight_selected_word 
|| true
 fi
-exit 0
 
 %if %{with test}
 %check


Reply via email to