Hello community,
here is the log from the commit of package python-jupyter_wysiwyg for
openSUSE:Factory checked in at 2018-06-15 14:46:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_wysiwyg (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_wysiwyg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_wysiwyg"
Fri Jun 15 14:46:14 2018 rev:2 rq:616080 version:0.1.8
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_wysiwyg/python-jupyter_wysiwyg.changes
2018-06-03 12:34:53.927059549 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_wysiwyg.new/python-jupyter_wysiwyg.changes
2018-06-15 14:46:16.752333386 +0200
@@ -1,0 +2,10 @@
+Sun Jun 10 11:06:51 UTC 2018 - [email protected]
+
+- Avoid bashisms in scriptlet.
+
+-------------------------------------------------------------------
+Tue May 29 14:59:34 UTC 2018 - [email protected]
+
+- Use || true syntax instead of exit 0
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_wysiwyg.spec ++++++
--- /var/tmp/diff_new_pack.Kj3rFj/_old 2018-06-15 14:46:18.124283201 +0200
+++ /var/tmp/diff_new_pack.Kj3rFj/_new 2018-06-15 14:46:18.128283055 +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_wysiwyg
Version: 0.1.8
Release: 0
-License: BSD-3-Clause
Summary: WYSIWYG editing functionality for markdown/HTML cells in
Jupyter
-Url: https://github.com/genepattern/jupyter-wysiwyg/
+License: BSD-3-Clause
Group: Development/Languages/Python
+Url: https://github.com/genepattern/jupyter-wysiwyg/
Source:
https://files.pythonhosted.org/packages/source/j/jupyter-wysiwyg/jupyter-wysiwyg-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -48,6 +49,7 @@
%prep
%setup -q -n jupyter-wysiwyg-%{version}
+find . -name '.DS_Store' -delete
%build
%python_build
@@ -60,14 +62,12 @@
%python_expand %fdupes %{buildroot}%{_datadir}/jupyter/nbextensions/
%post -n python3-jupyter_wysiwyg
-jupyter nbextension enable --system --py jupyter_wysiwyg
-exit 0
+jupyter nbextension enable --system --py jupyter_wysiwyg || true
%preun -n python3-jupyter_wysiwyg
-if [ $1 == 0 ] && [ -d %{python3_sitelib}/jupyter_wysiwyg/ ] ; then
- jupyter nbextension disable --system --py jupyter_wysiwyg
+if [ $1 = 0 ] && [ -d %{python3_sitelib}/jupyter_wysiwyg/ ] ; then
+ jupyter nbextension disable --system --py jupyter_wysiwyg || true
fi
-exit 0
%files %{python_files}
%defattr(-,root,root,-)