diff --git a/0001-gtk-doc-do-not-include-tree_index.sgml.patch b/0001-gtk-doc-do-not-include-tree_index.sgml.patch new file mode 100644 index 0000000000000000000000000000000000000000..577c5cfad24a736c4321751d8cc1f8a9665c9520 --- /dev/null +++ b/0001-gtk-doc-do-not-include-tree_index.sgml.patch @@ -0,0 +1,31 @@ +From bbc6acd6d429e7dbafebc4dccfac03f569b07ead Mon Sep 17 00:00:00 2001 +From: Weisson +Date: Fri, 23 Feb 2024 12:13:01 +0800 +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. +from upstream: #87d1add318b5e5d09977f7f374e923577b6ff3be + +Signed-off-by: Weisson +--- + 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 1eca9a2..1c38dbc 100644 +--- a/docs/libpsl/libpsl-docs.sgml ++++ b/docs/libpsl/libpsl-docs.sgml +@@ -22,10 +22,6 @@ + + + +- +- Object Hierarchy +- +- + + API Index + +-- +2.31.1 + diff --git a/libpsl.spec b/libpsl.spec index 69ea3460e9077b4cb32e64b75c858ab39fd3a390..5a4b498bc191fe803ae101aba6d51cfcfc1cee28 100644 --- a/libpsl.spec +++ b/libpsl.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: libpsl Version: 0.20.2 -Release: 6%{?dist} +Release: 6%{anolis_release}%{?dist} Summary: C library for the Publix Suffix List License: MIT URL: https://rockdaboot.github.io/libpsl @@ -17,6 +19,8 @@ BuildRequires: publicsuffix-list BuildRequires: python3-devel Requires: publicsuffix-list-dafsa +Patch0001: 0001-gtk-doc-do-not-include-tree_index.sgml.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. @@ -68,6 +72,7 @@ from a plain text Public Suffix List. %prep %setup -q +%patch0001 -p 1 rm -frv list sed -i -e "1s|#!.*|#!%{__python3}|" src/psl-make-dafsa @@ -143,6 +148,9 @@ make check || cat tests/test-suite.log %{_mandir}/man1/psl-make-dafsa.1* %changelog +* Fri Feb 23 2024 Weisson - 0.20.2-6.0.1 +- do not include tree_index.sgml (#87d1add318b) + * Thu Jun 04 2020 Kamil Dudka - 0.20.2-6 - increase release number (#1764048)