summaryrefslogtreecommitdiffstats
path: root/librdkafka.spec
diff options
context:
space:
mode:
Diffstat (limited to 'librdkafka.spec')
-rw-r--r--librdkafka.spec21
1 files changed, 6 insertions, 15 deletions
diff --git a/librdkafka.spec b/librdkafka.spec
index 427a6d3..c821298 100644
--- a/librdkafka.spec
+++ b/librdkafka.spec
@@ -13,7 +13,7 @@
%bcond_without move_to_opt
%global libname librdkafka
-%global gh_commit a4bf4876fadff054cf729fcb26d0d31e93cff44b
+%global gh_commit 6eaf89fb124c421b66b43b195879d458a3a31f86
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner edenhill
%global gh_project %{libname}
@@ -24,7 +24,7 @@
%global __arch_install_post /bin/true
%endif
-%global upstream_version 2.4.0
+%global upstream_version 2.5.0
#global upstream_prever RC4
Name: %{?vendeur:%{vendeur}-}%{libname}
@@ -41,6 +41,7 @@ License: BSD-2-Clause AND BSD-3-Clause AND MIT
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz
+BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig(libsasl2)
@@ -49,13 +50,6 @@ BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(RapidJSON)
BuildRequires: pkgconfig(libcurl)
-
-%if 0%{?rhel} == 7
-%global dtsenable source /opt/rh/devtoolset-7/enable
-BuildRequires: devtoolset-7-toolchain
-%else
-BuildRequires: gcc-c++
-%endif
BuildRequires: python3
@@ -123,12 +117,6 @@ rm %{buildroot}%{_libdir}/pkgconfig/*static.pc
rm -r %{buildroot}%{_datadir}/doc/%{libname}
-%if 0%{?fedora} < 28 && 0%{?rhel} < 8
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-%endif
-
-
%files
%{!?_licensedir:%global license %%doc}
%license LICENS*
@@ -154,6 +142,9 @@ rm -r %{buildroot}%{_datadir}/doc/%{libname}
%changelog
+* Thu Jul 11 2024 Remi Collet <remi@remirepo.net> - 2.5.0-1
+- update to 2.5.0
+
* Mon May 13 2024 Remi Collet <remi@remirepo.net> - 2.4.0-1
- update to 2.4.0