Force autoreconf to fix missing gtk-doc support

Latest upstream tarball has been dist'd without gtk-doc support.
This commit is contained in:
Kalev Lember 2022-09-07 17:58:11 +02:00
parent d4214785cc
commit cd6b3508dc

View File

@ -42,12 +42,14 @@ BuildRequires: pkgconfig(malcontent-0)
BuildRequires: pkgconfig(ostree-1) >= %{ostree_version} BuildRequires: pkgconfig(ostree-1) >= %{ostree_version}
BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(xau) BuildRequires: pkgconfig(xau)
BuildRequires: autoconf automake libtool
BuildRequires: bison BuildRequires: bison
BuildRequires: bubblewrap >= %{bubblewrap_version} BuildRequires: bubblewrap >= %{bubblewrap_version}
BuildRequires: docbook-dtds BuildRequires: docbook-dtds
BuildRequires: docbook-style-xsl BuildRequires: docbook-style-xsl
BuildRequires: gettext BuildRequires: gettext-devel
BuildRequires: gpgme-devel BuildRequires: gpgme-devel
BuildRequires: gtk-doc
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: python3-pyparsing BuildRequires: python3-pyparsing
BuildRequires: systemd BuildRequires: systemd
@ -140,6 +142,7 @@ This package contains installed tests for %{name}.
%build %build
rm configure
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
# Generate consistent IDs between runs to avoid multilib problems. # Generate consistent IDs between runs to avoid multilib problems.
export XMLTO_FLAGS="--stringparam generate.consistent.ids=1" export XMLTO_FLAGS="--stringparam generate.consistent.ids=1"