Hello community,

here is the log from the commit of package blitz for openSUSE:Factory checked 
in at 2020-02-10 21:53:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/blitz (Old)
 and      /work/SRC/openSUSE:Factory/.blitz.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "blitz"

Mon Feb 10 21:53:33 2020 rev:2 rq:772517 version:1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/blitz/blitz.changes      2020-02-03 
11:14:15.589873484 +0100
+++ /work/SRC/openSUSE:Factory/.blitz.new.26092/blitz.changes   2020-02-10 
21:53:39.802198949 +0100
@@ -1,0 +2,6 @@
+Sun Feb  2 16:27:25 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Disable building docs for openSUSE < 1550: build failues from
+  texinfo errors for openSUSE Leap 15.2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ blitz.spec ++++++
--- /var/tmp/diff_new_pack.NHoprp/_old  2020-02-10 21:53:40.398199279 +0100
+++ /var/tmp/diff_new_pack.NHoprp/_new  2020-02-10 21:53:40.398199279 +0100
@@ -15,6 +15,12 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+# ISSUE WITH make doc CAUSING FAILED BUILDS FOR openSUSE Leap 15.2
+%if 0%{?suse_version} >= 1550
+%bcond_without doc
+%else
+%bcond_with doc
+%endif
 
 Name:           blitz
 Version:        1.0.2
@@ -40,10 +46,12 @@
 BuildRequires:  pkgconfig(papi)
 BuildRequires:  pkgconfig(openlibm)
 BuildRequires:  python3-base
+%if %{with doc}
 BuildRequires:  texinfo
 BuildRequires:  texi2html
 BuildRequires:  texlive-dvips
 BuildRequires:  texlive-latex
+%endif
 Requires(post): %install_info_prereq
 Requires(preun): %install_info_prereq
 
@@ -91,13 +99,16 @@
 
 %build
 %cmake \
-    -DBUILD_DOC=ON \
+    -DBUILD_DOC=%{?with_doc:ON}%{!?with_doc:OFF} \
     -DBUILD_TESTING=ON \
     -DDISABLE_REFMAN_PDF=ON \
     -DENABLE_SERIALISATION=ON \
     -DSIMD_EXTENSION=ON \
     -DCMAKE_INSTALL_DOCDIR=%{_docdir}/blitz
+
+%if %{with doc}
 make blitz-doc
+%endif
 %cmake_build
 
 %install
@@ -108,11 +119,13 @@
 %post   -n libblitz%{sonum} -p /sbin/ldconfig
 %postun -n libblitz%{sonum} -p /sbin/ldconfig
 
+%if %{with doc}
 %post devel
 %install_info --info-dir=%{_infodir} %{_infodir}/blitz.info.gz
 
 %preun devel
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/blitz.info.gz
+%endif
 
 %files -n libblitz%{sonum}
 %license COPYING COPYING.LESSER COPYRIGHT LEGAL LICENSE
@@ -121,7 +134,9 @@
 
 %files devel
 %license COPYING COPYING.LESSER COPYRIGHT LEGAL LICENSE
+%if %{with doc}
 %{_infodir}/blitz.info.gz
+%endif
 %{_libdir}/libblitz.so
 %{_libdir}/pkgconfig/blitz.pc
 %{_libdir}/cmake/blitz*.cmake
@@ -130,11 +145,15 @@
 
 %files doc
 %doc ChangeLog ChangeLog.*
+%if %{with doc}
 %license %{_docdir}/blitz/COPYING
 %license %{_docdir}/blitz/COPYING.LESSER
 %license %{_docdir}/blitz/COPYRIGHT
 %license %{_docdir}/blitz/LEGAL
 %license %{_docdir}/blitz/LICENSE
+%else
+%license COPYING COPYING.LESSER COPYRIGHT LEGAL LICENSE
+%endif
 %{_docdir}/blitz/
 
 %changelog


Reply via email to