From 388787f332a11805767b42cf195dd0d39452a9a1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 05 2022 10:19:04 +0000 Subject: import libqb-2.0.3-10.el9 --- diff --git a/SOURCES/bz2057527-fix-connect-errno.patch b/SOURCES/bz2057527-fix-connect-errno.patch new file mode 100644 index 0000000..1de4962 --- /dev/null +++ b/SOURCES/bz2057527-fix-connect-errno.patch @@ -0,0 +1,22 @@ +commit f5106342d023e7cc238899ec7a567ad1eeb9b404 +Author: Christine Caulfield +Date: Wed Mar 2 15:23:39 2022 +0000 + + ipcc: Fix errno returned from qb_ipcc_connect + + The errno value from qb_ipcc_connect was incorrectly negated + when I introduced qb_ipcc_async_connect() + +diff --git a/lib/ipcc.c b/lib/ipcc.c +index c744ea1..4f35ea2 100644 +--- a/lib/ipcc.c ++++ b/lib/ipcc.c +@@ -152,7 +152,7 @@ disconnect_and_cleanup: + free(c->receive_buf); + free(c); + errno = -res; +- return -res; ++ return res; + + } + diff --git a/SPECS/libqb.spec b/SPECS/libqb.spec index 78f8c36..3df727e 100644 --- a/SPECS/libqb.spec +++ b/SPECS/libqb.spec @@ -3,7 +3,7 @@ Name: libqb Version: 2.0.3 -Release: 7%{?dist} +Release: 10%{?dist} Summary: Library providing high performance logging, tracing, ipc, and poll License: LGPLv2+ @@ -12,6 +12,7 @@ Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{versio Patch0: bz2031865-add-async-connect.patch Patch1: bz2031865-bump-version-for-async.patch +Patch2: bz2057527-fix-connect-errno.patch BuildRequires: autoconf automake libtool BuildRequires: check-devel @@ -35,6 +36,7 @@ and polling. %setup -q -n %{name}-%{version} %patch0 -p1 -b .bz2031865-add-async-connect %patch1 -p1 -b .bz2031865-bump-version-for-async +%patch2 -p1 -b .bz2057527-fix-connect-errno %build ./autogen.sh @@ -107,6 +109,18 @@ This package contains a program to create nicely-formatted man pages from Doxyge %changelog +* Fri Mar 4 2022 Christine Caulfield 2.0.3-10 +- Fix silly typo in spec file + Resolves: rhbz#2057527 + +* Fri Mar 4 2022 Christine Caulfield 2.0.3-9 +- Bump version to try a build for rhel-9.0.0 + Resolves: rhbz#2057527 + +* Thu Mar 3 2022 Christine Caulfield 2.0.3-8 +- Fix negative errno in qb_ipcc_connect (introduced in 2.0.3-4) + Resolves: rhbz#2057527 + * Wed Jan 19 2022 Christine Caulfield 2.0.3-7 - Bump soname for async-connect API addition Resolves: rhbz#bz2031865