Hello community,

here is the log from the commit of package python3-jupyter_core for 
openSUSE:Factory checked in at 2016-02-18 11:07:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_core (Old)
 and      /work/SRC/openSUSE:Factory/.python3-jupyter_core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-jupyter_core"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-jupyter_core/python3-jupyter_core-doc.changes
    2016-02-17 12:23:34.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python3-jupyter_core.new/python3-jupyter_core-doc.changes
       2016-02-18 12:36:48.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Feb 17 14:22:56 UTC 2016 - [email protected]
+
+- Simplify the tests for whether to build pdf documentation
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-jupyter_core-doc.spec ++++++
--- /var/tmp/diff_new_pack.kLTaSv/_old  2016-02-18 12:36:49.000000000 +0100
+++ /var/tmp/diff_new_pack.kLTaSv/_new  2016-02-18 12:36:49.000000000 +0100
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+%define build_pdf 1
+%else
+%define build_pdf 0
+%endif
+
 Name:           python3-jupyter_core-doc
 Version:        4.0.6
 Release:        0
@@ -26,7 +32,7 @@
 Source:         
https://pypi.python.org/packages/source/j/jupyter_core/jupyter_core-%{version}.tar.gz
 BuildRequires:  python3-jupyter_core
 BuildRequires:  python3-Sphinx
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+%if %{build_pdf}
 BuildRequires:  python3-Sphinx-latex
 %endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -58,7 +64,7 @@
 %install
 # Build the documentation
 pushd docs
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+%if %{build_pdf}
 PYTHONPATH=%{buildroot}%{python3_sitelib} make latexpdf
 %endif
 PYTHONPATH=%{buildroot}%{python3_sitelib} make html
@@ -70,7 +76,7 @@
 %doc COPYING.md
 %doc docs/_build/html/
 
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+%if %{build_pdf}
 %files pdf
 %defattr(-,root,root,-)
 %doc COPYING.md


Reply via email to