Revert "Re-enable documentation"

We don't have all the BRs required to build this in RHEL.

Related: #1957688

This reverts commit 937babf4bf.
This commit is contained in:
Kalev Lember 2021-05-06 19:25:07 +02:00
parent 7e7677990d
commit a78f05c87a

View File

@ -60,12 +60,6 @@ BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xrender)
BuildRequires: python3-jinja2
BuildRequires: python3-markdown
BuildRequires: python3-markupsafe
BuildRequires: python3-pygments
BuildRequires: python3-toml
BuildRequires: python3-typogrify
BuildRequires: /usr/bin/xsltproc BuildRequires: /usr/bin/xsltproc
# standard icons # standard icons
@ -89,6 +83,9 @@ Requires: gdk-pixbuf2-modules%{?_isa}
# make sure we have a reasonable gsettings backend # make sure we have a reasonable gsettings backend
Recommends: dconf%{?_isa} Recommends: dconf%{?_isa}
# Removed in F34
Obsoletes: gtk4-devel-docs < 4.1.2
%description %description
GTK is a multi-platform toolkit for creating graphical user GTK is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK is suitable for interfaces. Offering a complete set of widgets, GTK is suitable for
@ -105,14 +102,6 @@ Requires: gtk4%{?_isa} = %{version}-%{release}
This package contains the libraries and header files that are needed This package contains the libraries and header files that are needed
for writing applications with version 4 of the GTK widget toolkit. for writing applications with version 4 of the GTK widget toolkit.
%package devel-docs
Summary: Developer documentation for GTK
Requires: gtk4%{?_isa} = %{version}-%{release}
%description devel-docs
This package contains developer documentation for version 4 of the GTK
widget toolkit.
%prep %prep
%autosetup -p1 -n gtk-%{version} %autosetup -p1 -n gtk-%{version}
@ -131,7 +120,7 @@ export CFLAGS='-fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT %
-Dsysprof=enabled \ -Dsysprof=enabled \
-Dcolord=enabled \ -Dcolord=enabled \
-Dsassc=disabled \ -Dsassc=disabled \
-Dgtk_doc=true \ -Dgtk_doc=false \
-Dman-pages=true \ -Dman-pages=true \
-Dinstall-tests=false -Dinstall-tests=false
@ -217,22 +206,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_mandir}/man1/gtk4-query-settings.1* %{_mandir}/man1/gtk4-query-settings.1*
%{_mandir}/man1/gtk4-widget-factory.1* %{_mandir}/man1/gtk4-widget-factory.1*
%files devel-docs
%{_datadir}/doc/gdk4/
%{_datadir}/doc/gdk4-wayland/
%{_datadir}/doc/gdk4-wayland/
%{_datadir}/doc/gdk4-x11/
%{_datadir}/doc/gdk4-x11/
%{_datadir}/doc/gsk4/
%{_datadir}/doc/gtk4/
%changelog %changelog
* Wed May 05 2021 Kalev Lember <klember@redhat.com> - 4.2.1-1 * Wed May 05 2021 Kalev Lember <klember@redhat.com> - 4.2.1-1
- Update to 4.2.1 - Update to 4.2.1
* Mon May 03 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.2.0-5
- Re-enable documentation.
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.2.0-4 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.2.0-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937