From 79b09858dcc7f0e41daaff12b4df95ec4f9883e0 Mon Sep 17 00:00:00 2001 From: anolis-bot Date: Thu, 10 Nov 2022 18:28:15 +0800 Subject: [PATCH 1/2] update to libldb-2.5.2-2.el8 Signed-off-by: anolis-bot --- dist | 1 + download | 4 ++-- libldb.spec | 33 +++++++++++++++------------------ 3 files changed, 18 insertions(+), 20 deletions(-) create mode 100644 dist diff --git a/dist b/dist new file mode 100644 index 0000000..9c0e36e --- /dev/null +++ b/dist @@ -0,0 +1 @@ +an8 diff --git a/download b/download index 5ad77bc..3e0c528 100644 --- a/download +++ b/download @@ -1,2 +1,2 @@ -afc5627e7650d60a543a808085926724 ldb-2.4.1.tar.asc -ec2baff9c8e02fcbdd570401420589d5 ldb-2.4.1.tar.gz +dd6d542dd9e05718540dacfea0af300d ldb-2.5.2.tar.asc +c7fc9d1d43b801d3932484b1de7442fe ldb-2.5.2.tar.gz diff --git a/libldb.spec b/libldb.spec index dbb8f60..8998492 100644 --- a/libldb.spec +++ b/libldb.spec @@ -1,5 +1,3 @@ -%define anolis_release .0.1 - %if ((0%{?fedora} || 0%{?rhel} > 7 || 0%{?epel} > 6)) # lmdb is not supported on 32 bit architectures @@ -22,12 +20,12 @@ %endif %global talloc_version 2.3.3 -%global tdb_version 1.4.4 +%global tdb_version 1.4.6 %global tevent_version 0.11.0 Name: libldb -Version: 2.4.1 -Release: 1%{anolis_release}%{?dist} +Version: 2.5.2 +Release: 2%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -125,14 +123,6 @@ Development files for the Python bindings for the LDB library #endif with python %endif -%package doc -Summary: Documents for %{name} -BuildArch: noarch -Requires: %{name} = %{version}-%{release} - -%description doc -Doc pages for %{name}. - %prep zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - %autosetup -n ldb-%{version} -p1 @@ -231,12 +221,19 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* #endif with python %endif -%files doc -%doc README_gcov.txt - %changelog -* Tue Jul 19 2022 Zhao Hang - 2.4.1-1.0.1 -- Add doc sub package +* Thu Aug 11 2022 Andreas Schneider - 2.5.2-2 +- resolves: rhbz#2108998 - Rebuild to include python3-ldb-devel in CRB + +* Wed Jul 27 2022 Andreas Schneider - 2.5.2-1 +- Rebase to version 2.5.2 +- resolves: rhbz#2109016 - Fix CVE-2022-32746 + +* Mon Jun 13 2022 Pavel Filipenský - 2.5.1-1 +- related: rhbz#2077484 - Rebase to version 2.5.1 + +* Mon May 02 2022 Pavel Filipenský - 2.5.0-1 +- resolves: rhbz#2077484 - Rebase to version 2.5.0 * Thu Nov 25 2021 Pavel Filipenský - 2.4.1-1 - resolves: rhbz#2013605 - Rebase to version 2.4.1 -- Gitee From c526de327ddae16c6e9e8b27e2931d6c82d7594a Mon Sep 17 00:00:00 2001 From: Zhao Hang Date: Tue, 19 Jul 2022 15:32:55 +0800 Subject: [PATCH 2/2] spec: add doc sub package Signed-off-by: Zhao Hang --- libldb.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/libldb.spec b/libldb.spec index 8998492..9c5f958 100644 --- a/libldb.spec +++ b/libldb.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + %if ((0%{?fedora} || 0%{?rhel} > 7 || 0%{?epel} > 6)) # lmdb is not supported on 32 bit architectures @@ -25,7 +27,7 @@ Name: libldb Version: 2.5.2 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -123,6 +125,14 @@ Development files for the Python bindings for the LDB library #endif with python %endif +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - %autosetup -n ldb-%{version} -p1 @@ -221,7 +231,13 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* #endif with python %endif +%files doc +%doc README_gcov.txt + %changelog +* Fri Dec 30 2022 Zhao Hang - 2.5.2-2.0.1 +- Add doc sub package + * Thu Aug 11 2022 Andreas Schneider - 2.5.2-2 - resolves: rhbz#2108998 - Rebuild to include python3-ldb-devel in CRB -- Gitee