From 270c2e08315f6957abf7f025ba24e12ed992ad7b Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Sat, 29 Jul 2023 14:27:23 +0800 Subject: [PATCH] Fix build error Signed-off-by: cherry530 <707078654@qq.com> --- fix-build-error-due-to-sphinx-upgrade.patch | 12 ++++++++++++ liblognorm.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 fix-build-error-due-to-sphinx-upgrade.patch diff --git a/fix-build-error-due-to-sphinx-upgrade.patch b/fix-build-error-due-to-sphinx-upgrade.patch new file mode 100644 index 0000000..b32491f --- /dev/null +++ b/fix-build-error-due-to-sphinx-upgrade.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 f91157f..42dca6b 100644 --- a/liblognorm.spec +++ b/liblognorm.spec @@ -1,11 +1,13 @@ Name: liblognorm Version: 2.0.6 -Release: 1 +Release: 2 Summary: A tool to normalize log data License: LGPLv2+ URL: http://www.liblognorm.com Source0: http://www.liblognorm.com/files/download/%{name}-%{version}.tar.gz +Patch0: fix-build-error-due-to-sphinx-upgrade.patch + BuildRequires: chrpath libfastjson-devel libestr-devel pcre-devel gcc %description @@ -82,6 +84,9 @@ chrpath -d %{buildroot}%{_libdir}/liblognorm.so %doc %{_docdir}/liblognorm/html %changelog +* Sat Jul 29 2023 xu_ping <707078654@qq.com> - 2.0.6-2 +- Fix build error due to sphinx upgrade. + * Thu Jun 16 2022 SimpleUpdate Robot - 2.0.6-1 - Upgrade to version 2.0.6