update to 2.1.1

This commit is contained in:
lyn1001 2023-06-20 14:54:01 +08:00
parent 0bd2566495
commit 5a19ccc00f
2 changed files with 14 additions and 11 deletions

View File

@ -1,5 +1,5 @@
Name: librdkafka
Version: 1.9.2
Version: 2.1.1
Release: 1
Summary: C library implementation of the Apache Kafka protocol
License: BSD-2-Clause and Zlib and MIT and BSD-3-Clause
@ -7,6 +7,7 @@ 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: 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,16 +49,9 @@ 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.*}
/usr/share/doc/librdkafka/CHANGELOG.md
/usr/share/doc/librdkafka/INTRODUCTION.md
/usr/share/doc/librdkafka/LICENSE
/usr/share/doc/librdkafka/LICENSES.txt
/usr/share/doc/librdkafka/STATISTICS.md
%files devel
%dir %{_includedir}/librdkafka
@ -61,6 +61,9 @@ make check
%changelog
* 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

Binary file not shown.