[packages/liblognorm] - rel 3, fix doc build
baggins
baggins at pld-linux.org
Sat Oct 18 19:11:04 CEST 2025
commit 6e3bb6b43e488e3b2075cf67dc89d9e0f5b062ed
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Oct 18 21:10:54 2025 +0200
- rel 3, fix doc build
default-doc-lang.patch | 11 +++++++++++
liblognorm.spec | 12 +++++++-----
2 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/liblognorm.spec b/liblognorm.spec
index 9e4492a..528ca87 100644
--- a/liblognorm.spec
+++ b/liblognorm.spec
@@ -8,17 +8,18 @@ Summary: Fast samples-based log normalization library
Summary(pl.UTF-8): Szybka biblioteka do normalizowania logów oparta na próbkach
Name: liblognorm
Version: 2.0.6
-Release: 2
+Release: 3
License: LGPL v2.1+
Group: Libraries
Source0: http://www.liblognorm.com/files/download/%{name}-%{version}.tar.gz
# Source0-md5: 9b6b6b5f76fafbc853c65aad69d5d33b
+Patch0: default-doc-lang.patch
URL: https://www.liblognorm.com/
-%{?with_apidocs:BuildRequires: sphinx-pdg}
BuildRequires: libestr-devel
BuildRequires: libfastjson-devel
BuildRequires: pcre-devel
BuildRequires: pkgconfig
+%{?with_apidocs:BuildRequires: sphinx-pdg}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -67,6 +68,7 @@ Dokumentacja API biblioteki liblognorm.
%prep
%setup -q
+%patch -P0 -p1
%build
%configure \
@@ -100,12 +102,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/lognormalizer
-%attr(755,root,root) %{_libdir}/liblognorm.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/liblognorm.so.5
+%{_libdir}/liblognorm.so.*.*.*
+%ghost %{_libdir}/liblognorm.so.5
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/liblognorm.so
+%{_libdir}/liblognorm.so
%{_includedir}/liblognorm
%{_pkgconfigdir}/lognorm.pc
diff --git a/default-doc-lang.patch b/default-doc-lang.patch
new file mode 100644
index 0000000..963dd2d
--- /dev/null
+++ b/default-doc-lang.patch
@@ -0,0 +1,11 @@
+--- liblognorm-2.0.6/doc/conf.py~ 2018-11-06 09:27:21.000000000 +0100
++++ liblognorm-2.0.6/doc/conf.py 2025-10-18 21:09:26.339994001 +0200
+@@ -56,7 +56,7 @@
+
+ # 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:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/liblognorm.git/commitdiff/6e3bb6b43e488e3b2075cf67dc89d9e0f5b062ed
More information about the pld-cvs-commit
mailing list