Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a6a45827ef
!29 Fix WITH_LDS not taking effect during compilation
From: @lishunlong6 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2024-03-20 09:26:53 +00:00
lishunlong
39d5297533 Fix:WITH_LDS does not take effect during compilation, causing a function conflict with the same name as glibc.so
- 编译时WITH_LDS没生效,导致与glibc.so发生同名函数冲突
2024-03-20 17:04:24 +08:00
openeuler-ci-bot
72d7fe9ffc
!9 update to 2.1.1
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-06-21 13:25:47 +00:00
lyn1001
5a19ccc00f update to 2.1.1 2023-06-20 14:54:01 +08:00
openeuler-ci-bot
0bd2566495
!8 update version to 1.9.2
From: @huyab 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2022-12-20 03:36:06 +00:00
huyab
33f0d0258e update version to 1.9.2 2022-12-19 00:46:31 +00:00
openeuler-ci-bot
1ab6e55583
!5 License compliance rectification
From: @wu-leilei 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
2022-06-10 03:58:48 +00:00
wu-leilei
c75941df4c License compliance rectification 2022-05-11 15:29:36 +08:00
openeuler-ci-bot
417cae14da !3 Modify BuildRequires from python2 to python3
From: @lei_ju
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 15:55:02 +08:00
lei_ju
edf70922ab Modify BuildRequires from python2 to python3 2020-10-30 09:41:40 +08:00
3 changed files with 31 additions and 10 deletions

Binary file not shown.

View File

@ -1,12 +1,13 @@
Name: librdkafka Name: librdkafka
Version: 0.11.4 Version: 2.1.1
Release: 3 Release: 2
Summary: C library implementation of the Apache Kafka protocol Summary: C library implementation of the Apache Kafka protocol
License: BSD License: BSD-2-Clause and Zlib and MIT and BSD-3-Clause
URL: https://github.com/edenhill/librdkafka URL: https://github.com/edenhill/librdkafka
Source0: https://github.com/edenhill/librdkafka/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/edenhill/librdkafka/archive/refs/tags/v%{version}.tar.gz
BuildRequires: gcc-c++ python2 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 %description
ibrdkafka is a C library implementation of the Apache Kafka protocol, providing Producer, Consumer ibrdkafka is a C library implementation of the Apache Kafka protocol, providing Producer, Consumer
@ -25,7 +26,12 @@ Consumer support.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%configure --enable-lz4 --enable-ssl --enable-sasl
%define _lto_cflags -flto=auto -ffat-lto-objects
%configure --enable-lz4 --enable-ssl --enable-sasl \
--enable-zlib --enable-zstd --enable-lz4-ext --enable-gssapi
%make_build %make_build
%check %check
@ -33,7 +39,8 @@ make check
%install %install
%make_install %make_install
%delete_la_and_a find %{buildroot} -name '*.a' -delete -print
find %{buildroot} -name '*-static.pc' -delete -print
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -42,7 +49,7 @@ make check
/sbin/ldconfig /sbin/ldconfig
%files %files
%doc README.md CONFIGURATION.md %doc README.md CONFIGURATION.md CHANGELOG.md INTRODUCTION.md LICENSE LICENSES.txt STATISTICS.md
%license LICENSE LICENSE.snappy LICENSE.pycrc %license LICENSE LICENSE.snappy LICENSE.pycrc
%{_libdir}/{librdkafka.so.*,librdkafka++.so.*} %{_libdir}/{librdkafka.so.*,librdkafka++.so.*}
@ -52,8 +59,22 @@ make check
%attr(0755,root,root) %{_libdir}/{librdkafka.so,librdkafka++.so} %attr(0755,root,root) %{_libdir}/{librdkafka.so,librdkafka++.so}
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog
* Wed Mar 20 2024 lishunlong <lishunlong@kylinsec.com.cn> - 2.1.1-2
- Fix recognition of WITH_LDS when compiling
* Tue Jun 20 2023 liyanan <thistleslyn@163.com> - 2.1.1-1
- Update to 2.1.1
* Tue Nov 1 2022 huyab<1229981468@qq.com> - 1.9.2-1
- update version to 1.9.2-1
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 0.11.4-5
- License compliance rectification
* Mon Oct 26 2020 leiju <leiju4@huawei.com> - 0.11.4-4
- Modify BuildRequires from python2 to python3
* Fri Dec 20 2019 daiqianwen <daiqianwen@huawei.com> - 0.11.4-3 * Fri Dec 20 2019 daiqianwen <daiqianwen@huawei.com> - 0.11.4-3
- Package init - Package init

BIN
v2.1.1.tar.gz Normal file

Binary file not shown.