Compare commits

..

No commits in common. "a6a45827ef95bbad77062bbe2030cb1229a17176" and "47a07a9a7ad621930ccca43e4ef4b6bfa850c1f7" have entirely different histories.

3 changed files with 10 additions and 31 deletions

BIN
librdkafka-0.11.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: librdkafka
Version: 2.1.1
Release: 2
Version: 0.11.4
Release: 3
Summary: C library implementation of the Apache Kafka protocol
License: BSD-2-Clause and Zlib and MIT and BSD-3-Clause
License: BSD
URL: https://github.com/edenhill/librdkafka
Source0: https://github.com/edenhill/librdkafka/archive/refs/tags/v%{version}.tar.gz
Source0: https://github.com/edenhill/librdkafka/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ python3 openssl-devel cyrus-sasl-devel lz4-devel python3-unversioned-command
BuildRequires: make libzstd-devel zlib-devel rapidjson-devel
BuildRequires: gcc-c++ python2 openssl-devel cyrus-sasl-devel lz4-devel
%description
ibrdkafka is a C library implementation of the Apache Kafka protocol, providing Producer, Consumer
@ -26,12 +25,7 @@ Consumer support.
%autosetup -n %{name}-%{version} -p1
%build
%define _lto_cflags -flto=auto -ffat-lto-objects
%configure --enable-lz4 --enable-ssl --enable-sasl \
--enable-zlib --enable-zstd --enable-lz4-ext --enable-gssapi
%configure --enable-lz4 --enable-ssl --enable-sasl
%make_build
%check
@ -39,8 +33,7 @@ make check
%install
%make_install
find %{buildroot} -name '*.a' -delete -print
find %{buildroot} -name '*-static.pc' -delete -print
%delete_la_and_a
%post
/sbin/ldconfig
@ -49,7 +42,7 @@ find %{buildroot} -name '*-static.pc' -delete -print
/sbin/ldconfig
%files
%doc README.md CONFIGURATION.md CHANGELOG.md INTRODUCTION.md LICENSE LICENSES.txt STATISTICS.md
%doc README.md CONFIGURATION.md
%license LICENSE LICENSE.snappy LICENSE.pycrc
%{_libdir}/{librdkafka.so.*,librdkafka++.so.*}
@ -59,22 +52,8 @@ find %{buildroot} -name '*-static.pc' -delete -print
%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

Binary file not shown.