|
|
|
@ -1,19 +1,20 @@
|
|
|
|
|
%define htmldir %{_docdir}/liblognorm/html
|
|
|
|
|
|
|
|
|
|
Name: liblognorm
|
|
|
|
|
Version: 2.0.5
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.0.6
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Fast samples-based log normalization library
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://www.liblognorm.com
|
|
|
|
|
Source0: http://www.liblognorm.com/files/download/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
BuildRequires: libfastjson-devel
|
|
|
|
|
BuildRequires: libestr-devel
|
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
|
|
|
|
|
|
Patch0: liblognorm-2.0.0-rhbz1565219-add-skipempty.patch
|
|
|
|
|
Patch0: liblognorm-2.0.0-rhbz1990737-add-skipempty.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Briefly described, liblognorm is a tool to normalize log data.
|
|
|
|
@ -29,6 +30,8 @@ the logs you want to normalize.
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development tools for programs using liblognorm library
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: json-c-devel%{?_isa}
|
|
|
|
|
Requires: libestr-devel%{?_isa}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The liblognorm-devel package includes header files, libraries necessary for
|
|
|
|
@ -36,8 +39,8 @@ developing programs which use liblognorm library.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: HTML documentation for liblognorm
|
|
|
|
|
Group: Documentation
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
This sub-package contains documentation for liblognorm in a HTML form.
|
|
|
|
@ -52,8 +55,7 @@ log files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%patch0 -p1 -b .support-skipempty
|
|
|
|
|
%patch0 -p1 -b .skipempty
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-regexp --enable-docs --docdir=%{htmldir} --includedir=%{_includedir}/%{name}/
|
|
|
|
@ -66,9 +68,7 @@ chrpath -d %{buildroot}%{_bindir}/lognormalizer
|
|
|
|
|
chrpath -d %{buildroot}%{_libdir}/liblognorm.so
|
|
|
|
|
rm %{buildroot}%{htmldir}/{objects.inv,.buildinfo}
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
@ -91,19 +91,41 @@ rm %{buildroot}%{htmldir}/{objects.inv,.buildinfo}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 2.0.5-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Wed Aug 02 2023 Attila Lakatos <alakatos@redhat.com> - 2.0.6-5
|
|
|
|
|
- Rebuild
|
|
|
|
|
resolves: rhbz#2227729
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.6-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Aug 06 2021 Attila Lakatos <alakatos@redhat.com> - 2.0.6-3
|
|
|
|
|
- Add skipempty to liblognorm json type
|
|
|
|
|
resolves: rhbz#1990737
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.6-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Attila Lakatos <alakatos@redhat.com> - 2.0.6-1
|
|
|
|
|
- Rebase to 2.0.6
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 22 2021 Attila Lakatos <alakatos@redhat.com> - 2.0.5-2
|
|
|
|
|
- Add support for skipempty
|
|
|
|
|
resolves: rhbz#1855422
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 03 2018 Jiri Vymazal <jvymazal@redhat.com> - 2.0.5-1
|
|
|
|
|
rebase to upstream release 2.0.5
|
|
|
|
|
resolves: rhbz#1612036
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.0.3-6
|
|
|
|
|
- Change to python3-sphinx
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|