Hello community,
here is the log from the commit of package python-jupyter_latex_envs for
openSUSE:Factory checked in at 2018-06-15 14:46:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_latex_envs (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_latex_envs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_latex_envs"
Fri Jun 15 14:46:25 2018 rev:2 rq:616083 version:1.4.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_latex_envs/python-jupyter_latex_envs.changes
2018-06-03 12:36:04.244485216 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_latex_envs.new/python-jupyter_latex_envs.changes
2018-06-15 14:46:27.035957214 +0200
@@ -1,0 +2,10 @@
+Sun Jun 10 11:09:48 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_latex_envs.spec ++++++
--- /var/tmp/diff_new_pack.d3yd4C/_old 2018-06-15 14:46:28.139916831 +0200
+++ /var/tmp/diff_new_pack.d3yd4C/_new 2018-06-15 14:46:28.143916685 +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_latex_envs
Version: 1.4.4
Release: 0
-License: BSD-3-Clause
Summary: LaTeX environments for Jupyter notebook
-Url: http://github.com/jfbercher/jupyter_latex_envs
+License: BSD-3-Clause
Group: Development/Languages/Python
+Url: http://github.com/jfbercher/jupyter_latex_envs
Source:
https://files.pythonhosted.org/packages/source/j/jupyter_latex_envs/jupyter_latex_envs-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -32,14 +33,14 @@
BuildRequires: python3-jupyter_notebook >= 4.0
%if %{with test}
BuildRequires: %{python_module entrypoints >= 0.2.2}
-BuildRequires: %{python_module jupyter_ipython}
BuildRequires: %{python_module jupyter_core}
+BuildRequires: %{python_module jupyter_ipython}
BuildRequires: %{python_module jupyter_nbconvert}
BuildRequires: %{python_module jupyter_notebook >= 4.0}
BuildRequires: %{python_module traitlets >= 4.1}
%endif
-Requires: python-jupyter_ipython
Requires: python-jupyter_core
+Requires: python-jupyter_ipython
Requires: python-jupyter_nbconvert
Requires: python-jupyter_notebook >= 4.0
Requires: python-traitlets >= 4.1
@@ -75,14 +76,12 @@
%python_expand %fdupes %{buildroot}%{_datadir}/jupyter/nbextensions/
%post -n python3-jupyter_latex_envs
-jupyter nbextension enable --system --py latex_envs
-exit 0
+jupyter nbextension enable --system --py latex_envs || true
%preun -n python3-jupyter_latex_envs
-if [ $1 == 0 ] && [ -d %{python3_sitelib}/latex_envs/ ] ; then
- jupyter nbextension disable --system --py latex_envs
+if [ $1 = 0 ] && [ -d %{python3_sitelib}/latex_envs/ ] ; then
+ jupyter nbextension disable --system --py latex_envs || true
fi
-exit 0
%if %{with test}
%check