Fix build error

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2023-07-29 14:27:23 +08:00
parent a7460fc3b0
commit 270c2e0831
2 changed files with 18 additions and 1 deletions

View File

@ -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:

View File

@ -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 <tc@openeuler.org> - 2.0.6-1
- Upgrade to version 2.0.6