Hello community,

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

Package is "python-jupyter_nbpresent"

Fri Jun 15 14:46:15 2018 rev:2 rq:616081 version:3.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_nbpresent/python-jupyter_nbpresent.changes
        2018-06-02 11:59:05.512720541 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_nbpresent.new/python-jupyter_nbpresent.changes
   2018-06-15 14:46:22.096137911 +0200
@@ -1,0 +2,16 @@
+Sun Jun 10 11:08:17 UTC 2018 - jeng...@inai.de
+
+- Avoid bashism in scriptlet.
+
+-------------------------------------------------------------------
+Thu Jun  7 21:35:20 UTC 2018 - jeng...@inai.de
+
+- Remove filler wording.
+- Rewrite description not to contain imperatives.
+
+-------------------------------------------------------------------
+Tue May 29 14:59:34 UTC 2018 - toddrme2...@gmail.com
+
+- Use || true syntax instead of exit 0
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-jupyter_nbpresent.spec ++++++
--- /var/tmp/diff_new_pack.lY7d0d/_old  2018-06-15 14:46:22.904108356 +0200
+++ /var/tmp/diff_new_pack.lY7d0d/_new  2018-06-15 14:46:22.912108063 +0200
@@ -20,7 +20,7 @@
 Name:           python-jupyter_nbpresent
 Version:        3.0.0
 Release:        0
-Summary:        Next generation slides from Jupyter Notebooks
+Summary:        Slide generator for Jupyter Notebooks
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            https://github.com/Anaconda-Platform/nbpresent
@@ -50,7 +50,7 @@
 %python_subpackages
 
 %description
-Remix your Jupyter Notebooks as interactive slideshows.
+This module remixes Jupyter Notebooks into interactive slideshows.
 
 %prep
 %setup -q -n nbpresent-%{version}
@@ -69,14 +69,12 @@
 %{fdupes %{buildroot}%{_datadir}/jupyter/ %{buildroot}%{python3_sitelib}}
 
 %post -n python3-jupyter_nbpresent
-jupyter nbextension enable --py --system nbpresent
-exit 0
+jupyter nbextension enable --py --system nbpresent || true
 
 %preun -n python3-jupyter_nbpresent
-if [ $1 == 0 ] && [ -d %{python3_sitelib}/nbpresent/ ] ; then
-    jupyter nbextension disable --py --system nbpresent
+if [ $1 = 0 ] && [ -d %{python3_sitelib}/nbpresent/ ] ; then
+    jupyter nbextension disable --py --system nbpresent || true
 fi
-exit 0
 
 %files %{python_files}
 %doc README.md README.rst


Reply via email to