From daf911e0f3f660bebf84a4128fb7bbb5d690c2f8 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Thu, 30 Jan 2020 14:15:26 +0100 Subject: [PATCH] fix unnecessary build failure due to missing tree_index.sgml in gtk-doc output --- 0001-libpsl-0.21.0-gtk-doc.patch | 31 +++++++++++++++++++++++++++++++ libpsl.spec | 8 +++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 0001-libpsl-0.21.0-gtk-doc.patch diff --git a/0001-libpsl-0.21.0-gtk-doc.patch b/0001-libpsl-0.21.0-gtk-doc.patch new file mode 100644 index 0000000..9bd1652 --- /dev/null +++ b/0001-libpsl-0.21.0-gtk-doc.patch @@ -0,0 +1,31 @@ +From 5c1db71740244f38a4543457e74d2563d8d7b36e Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +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 +--- + 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 @@ + + + +- +- Object Hierarchy +- +- + + API Index + +-- +2.21.1 + diff --git a/libpsl.spec b/libpsl.spec index 4f786bf..b883728 100644 --- a/libpsl.spec +++ b/libpsl.spec @@ -1,6 +1,6 @@ Name: libpsl Version: 0.21.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C library for the Publix Suffix List License: MIT URL: https://rockdaboot.github.io/libpsl @@ -17,6 +17,9 @@ BuildRequires: publicsuffix-list BuildRequires: python3-devel 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 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. @@ -144,6 +147,9 @@ make check || cat tests/test-suite.log %{_mandir}/man1/psl-make-dafsa.1* %changelog +* Thu Jan 30 2020 Kamil Dudka - 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 - 0.21.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild