Compare commits
10 Commits
47a07a9a7a
...
a6a45827ef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6a45827ef | ||
|
|
39d5297533 | ||
|
|
72d7fe9ffc | ||
|
|
5a19ccc00f | ||
|
|
0bd2566495 | ||
|
|
33f0d0258e | ||
|
|
1ab6e55583 | ||
|
|
c75941df4c | ||
|
|
417cae14da | ||
|
|
edf70922ab |
Binary file not shown.
@ -1,12 +1,13 @@
|
||||
Name: librdkafka
|
||||
Version: 0.11.4
|
||||
Release: 3
|
||||
Version: 2.1.1
|
||||
Release: 2
|
||||
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
|
||||
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
|
||||
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
|
||||
|
||||
%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
|
||||
|
||||
%check
|
||||
@ -33,7 +39,8 @@ make check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
find %{buildroot} -name '*.a' -delete -print
|
||||
find %{buildroot} -name '*-static.pc' -delete -print
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
@ -42,7 +49,7 @@ make check
|
||||
/sbin/ldconfig
|
||||
|
||||
%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
|
||||
%{_libdir}/{librdkafka.so.*,librdkafka++.so.*}
|
||||
|
||||
@ -52,8 +59,22 @@ make check
|
||||
%attr(0755,root,root) %{_libdir}/{librdkafka.so,librdkafka++.so}
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
|
||||
%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
|
||||
- Package init
|
||||
|
||||
|
||||
|
||||
BIN
v2.1.1.tar.gz
Normal file
BIN
v2.1.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user