Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glfw for openSUSE:Factory checked in at 2024-10-09 22:03:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glfw (Old) and /work/SRC/openSUSE:Factory/.glfw.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glfw" Wed Oct 9 22:03:23 2024 rev:26 rq:1206402 version:3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/glfw/glfw.changes 2024-10-08 17:22:58.937456774 +0200 +++ /work/SRC/openSUSE:Factory/.glfw.new.19354/glfw.changes 2024-10-09 22:03:34.878772548 +0200 @@ -1,0 +2,15 @@ +Tue Oct 8 21:04:25 UTC 2024 - Antonio Teixeira <antonio.teixe...@suse.com> + +- Use %bcond macro for building html docs +- Fix rpmlint errors/warnings + * Remove obsolete glfw-rpmlintrc + * Fix self-obsoletion warning + * Remove duplicate files in html docs + +------------------------------------------------------------------- +Tue Oct 8 15:51:23 UTC 2024 - Carsten Ziepke <kiel...@gmail.com> + +- Package html docs only for Tumbleweed, Documentation generation + requires Doxygen 1.9.8 or later, Leap does have only 1.8.14 + +------------------------------------------------------------------- Old: ---- glfw-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glfw.spec ++++++ --- /var/tmp/diff_new_pack.deYiH4/_old 2024-10-09 22:03:35.638804264 +0200 +++ /var/tmp/diff_new_pack.deYiH4/_new 2024-10-09 22:03:35.642804431 +0200 @@ -16,6 +16,12 @@ # +# html docs need doxygen >= 1.9.8 which isn't available on Leap +%if 0%{?suse_version} >= 1600 +%bcond_without html_docs +%else +%bcond_with html_docs +%endif # On TW and ALP, build with geany by default %if 0%{?suse_version} >= 1600 %bcond_without geany @@ -31,11 +37,13 @@ Group: Development/Libraries/C and C++ URL: https://www.glfw.org/ Source: https://github.com/glfw/glfw/archive/%{version}.tar.gz#/glfw-%{version}.tar.gz -Source99: glfw-rpmlintrc # PATCH-FIX-OPENSUSE docs-remove-footer.patch antonio.teixe...@suse.com -- Custom footer for html docs includes build date and time. Use default footer instead. Patch1: docs-remove-footer.patch BuildRequires: cmake >= 3.0 -BuildRequires: doxygen +%if %{with html_docs} +BuildRequires: doxygen >= 1.9.8 +BuildRequires: fdupes +%endif BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -62,7 +70,7 @@ Summary: Framework for OpenGL application development Group: System/Libraries Provides: libglfw%{sover}-wayland = %{version} -Obsoletes: libglfw%{sover}-wayland <= %{version} +Obsoletes: libglfw%{sover}-wayland < %{version} %description -n libglfw%{sover} GLFW is a framework for OpenGL application development. It is a @@ -83,6 +91,7 @@ operating system specific tasks such as opening an OpenGL window, and reading keyboard, time, mouse and joystick input. +%if %{with html_docs} %package doc Summary: Documentation for GLFW, an OpenGL application framework Group: Documentation/HTML @@ -95,6 +104,7 @@ reading keyboard, time, mouse and joystick input. This subpackage contains GLFW's documentation in html format. +%endif %prep %autosetup -p1 -n glfw-%{version} @@ -117,6 +127,9 @@ %install %cmake_install +%if %{with html_docs} +%fdupes -s %{buildroot}/%{_docdir}/%{name} +%endif %if %{with geany} # install geany tags install -d %{buildroot}/%{_datadir}/geany/tags/ @@ -141,6 +154,8 @@ %{_datadir}/geany/* %endif +%if %{with html_docs} %files doc %{_docdir}/%{name}/ +%endif