From 99b9cc06e16be0b007b03667177141b6e0d75c43 Mon Sep 17 00:00:00 2001 From: alakatos Date: Tue, 19 Jul 2022 14:05:18 +0200 Subject: [PATCH] Update language to comply with sphinx5 resolves: rhbz#2105934 --- liblognorm-2.0.6-rhbz2105934-sphinx5.patch | 12 ++++++++++++ liblognorm.spec | 10 +++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 liblognorm-2.0.6-rhbz2105934-sphinx5.patch diff --git a/liblognorm-2.0.6-rhbz2105934-sphinx5.patch b/liblognorm-2.0.6-rhbz2105934-sphinx5.patch new file mode 100644 index 0000000..b32491f --- /dev/null +++ b/liblognorm-2.0.6-rhbz2105934-sphinx5.patch @@ -0,0 +1,12 @@ +diff -up liblognorm-2.0.6/doc/conf.py.orig liblognorm-2.0.6/doc/conf.py +--- liblognorm-2.0.6/doc/conf.py.orig 2022-07-19 14:01:01.094313222 +0200 ++++ liblognorm-2.0.6/doc/conf.py 2022-07-19 14:01:43.454310057 +0200 +@@ -56,7 +56,7 @@ release = '1.1.2' + + # The language for content autogenerated by Sphinx. Refer to documentation + # for a list of supported languages. +-language = None ++language = 'en' + + # There are two options for replacing |today|: either, you set today to some + # non-false value, then it is used: diff --git a/liblognorm.spec b/liblognorm.spec index f8facd9..5058618 100644 --- a/liblognorm.spec +++ b/liblognorm.spec @@ -2,7 +2,7 @@ Name: liblognorm Version: 2.0.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Fast samples-based log normalization library License: LGPLv2+ URL: http://www.liblognorm.com @@ -14,6 +14,8 @@ BuildRequires: libfastjson-devel BuildRequires: libestr-devel BuildRequires: pcre-devel +Patch0: liblognorm-2.0.6-rhbz2105934-sphinx5.patch + %description Briefly described, liblognorm is a tool to normalize log data. @@ -54,6 +56,8 @@ log files. %prep %setup -q +%patch0 -p1 -b .sphinx5 + %build %configure --enable-regexp --enable-docs --docdir=%{htmldir} --includedir=%{_includedir}/%{name}/ @@ -88,6 +92,10 @@ rm %{buildroot}%{htmldir}/{objects.inv,.buildinfo} %changelog +* Tue Jul 19 2022 Attila Lakatos - 2.0.6-4 +- Update language to comply with sphinx5 + resolves: rhbz#2105934 + * Thu Jan 20 2022 Fedora Release Engineering - 2.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild