From 8cbbd69d68994bbf4a4790cda957b94ca4568eab Mon Sep 17 00:00:00 2001 From: lishunlong Date: Wed, 20 Mar 2024 17:07:01 +0800 Subject: [PATCH] Fix:WITH_LDS does not take effect during compilation, causing a function conflict with the same name as glibc.so MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 编译时WITH_LDS没生效,导致与glibc.so发生同名函数冲突 --- librdkafka.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/librdkafka.spec b/librdkafka.spec index 04afa7c..45f4094 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -1,12 +1,12 @@ Name: librdkafka Version: 2.1.1 -Release: 1 +Release: 2 Summary: C library implementation of the Apache Kafka protocol License: BSD-2-Clause and Zlib and MIT and BSD-3-Clause URL: https://github.com/edenhill/librdkafka Source0: https://github.com/edenhill/librdkafka/archive/refs/tags/v%{version}.tar.gz -BuildRequires: gcc-c++ python3 openssl-devel cyrus-sasl-devel lz4-devel +BuildRequires: gcc-c++ python3 openssl-devel cyrus-sasl-devel lz4-devel python3-unversioned-command BuildRequires: make libzstd-devel zlib-devel rapidjson-devel %description @@ -61,6 +61,9 @@ find %{buildroot} -name '*-static.pc' -delete -print %changelog +* Wed Mar 20 2024 lishunlong - 2.1.1-2 +- Fix recognition of WITH_LDS when compiling + * Tue Jun 20 2023 liyanan - 2.1.1-1 - Update to 2.1.1 -- Gitee