fix unnecessary build failure due to missing tree_index.sgml in gtk-doc output

This commit is contained in:
Kamil Dudka 2020-01-30 14:15:26 +01:00
parent a9e524e1eb
commit daf911e0f3
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,31 @@
From 5c1db71740244f38a4543457e74d2563d8d7b36e Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Sat, 1 Jun 2019 13:09:41 +0200
Subject: [PATCH] gtk-doc: do not include tree_index.sgml
gtk-doc 1.30 no longer generates the file if the object tree is empty.
Upstream-commit: 87d1add318b5e5d09977f7f374e923577b6ff3be
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
---
docs/libpsl/libpsl-docs.sgml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/docs/libpsl/libpsl-docs.sgml b/docs/libpsl/libpsl-docs.sgml
index 335d241..88c7ba8 100644
--- a/docs/libpsl/libpsl-docs.sgml
+++ b/docs/libpsl/libpsl-docs.sgml
@@ -22,10 +22,6 @@
</para>
<xi:include href="xml/libpsl.xml"/>
</chapter>
- <chapter id="object-tree">
- <title>Object Hierarchy</title>
- <xi:include href="xml/tree_index.sgml"/>
- </chapter>
<index id="api-index-full">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
--
2.21.1

View File

@ -1,6 +1,6 @@
Name: libpsl Name: libpsl
Version: 0.21.0 Version: 0.21.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: C library for the Publix Suffix List Summary: C library for the Publix Suffix List
License: MIT License: MIT
URL: https://rockdaboot.github.io/libpsl URL: https://rockdaboot.github.io/libpsl
@ -17,6 +17,9 @@ BuildRequires: publicsuffix-list
BuildRequires: python3-devel BuildRequires: python3-devel
Requires: publicsuffix-list-dafsa Requires: publicsuffix-list-dafsa
# fix unnecessary build failure due to missing tree_index.sgml in gtk-doc output
Patch1: 0001-libpsl-0.21.0-gtk-doc.patch
%description %description
libpsl is a C library to handle the Public Suffix List. A "public suffix" is a libpsl is a C library to handle the Public Suffix List. A "public suffix" is a
domain name under which Internet users can directly register own names. domain name under which Internet users can directly register own names.
@ -144,6 +147,9 @@ make check || cat tests/test-suite.log
%{_mandir}/man1/psl-make-dafsa.1* %{_mandir}/man1/psl-make-dafsa.1*
%changelog %changelog
* Thu Jan 30 2020 Kamil Dudka <kdudka@redhat.com> - 0.21.0-4
- fix unnecessary build failure due to missing tree_index.sgml in gtk-doc output
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-3 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild