diff --git a/glib2.changes b/glib2.changes index 11a2185..6bf35dd 100644 --- a/glib2.changes +++ b/glib2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 22 11:45:40 UTC 2020 - Dominique Leuenberger + +- Enable building of documentation: + + Toggle gtk_doc from bcond_with to bcond_without. + + Use sed to replace gtk-doc version in + docs/reference/meson.build with 1.32. + ------------------------------------------------------------------- Tue Oct 20 14:00:37 UTC 2020 - dimstar@opensuse.org diff --git a/glib2.spec b/glib2.spec index 81047fd..e14d7c9 100644 --- a/glib2.spec +++ b/glib2.spec @@ -17,7 +17,7 @@ %bcond_without systemtap -%bcond_with gtk_doc +%bcond_without gtk_doc Name: glib2 Version: 2.66.2 Release: 0 @@ -53,7 +53,7 @@ BuildRequires: fdupes BuildRequires: gamin-devel BuildRequires: gcc-c++ %if %{with gtk_doc} -BuildRequires: gtk-doc >= 1.32.1 +BuildRequires: gtk-doc >= 1.32 %endif BuildRequires: libselinux-devel BuildRequires: m4 @@ -262,6 +262,7 @@ cp -a %{SOURCE4} gnome_defaults.conf # replace /usr/bin/env shebangs # /usr/bin/env @PYTHON@ -> /usr/bin/python3 grep "%{_bindir}/env @PYTHON@" . -rl | xargs sed -i "s|%{_bindir}/env @PYTHON@|%{_bindir}/python3|g" +sed -i "s/1.32.1/1.32/" docs/reference/meson.build %build %if %{with systemtap}