diff options
author | Remi Collet <remi@remirepo.net> | 2024-11-21 09:38:03 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-11-21 09:38:03 +0100 |
commit | bdb2cdd76ff68ec2bd5c839f8b2f46c5d4b830e8 (patch) | |
tree | 48adbde1bbdb30597a403f4ef694c698bf258fcb /librdkafka.spec | |
parent | b24a69cb6bc8c458ec57e80054c0c15c9be34df0 (diff) |
fix build with OPENSSL_NO_ENGINE (EL-10) using patch from
https://github.com/confluentinc/librdkafka/pull/4911
Diffstat (limited to 'librdkafka.spec')
-rw-r--r-- | librdkafka.spec | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/librdkafka.spec b/librdkafka.spec index c28421b..b6f899a 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -13,7 +13,7 @@ %bcond_without move_to_opt %global libname librdkafka -%global gh_commit 7fc5a59826ee1e1dee3236b1e43180cc22cfb496 +%global gh_commit cb8c19c43011b66c4b08b25e5150455a247e1ff3 %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.6.0 +%global upstream_version 2.6.1 #global upstream_prever RC4 Name: %{?vendeur:%{vendeur}-}%{libname} @@ -41,6 +41,9 @@ 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 +# use OPENSSL_NO_ENGINE from OpenSSL config +Patch0: %{libname}-build.patch + BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: openssl-devel @@ -79,15 +82,16 @@ developing applications that use %{name}. %if %{with move_to_opt} # Filter in the /opt installation -%{?filter_from_provides: %filter_from_provides /%{libname}/d} -%{?filter_from_requires: %filter_from_requires /%{libname}/d} -%{?filter_setup} +%global __provides_exclude ^(%{libname}.*\\.so|cmake|pkgconfig).*$ +%global __requires_exclude ^(%{libname}.*\\.so|cmake|pkgconfig).*$ %endif %prep %setup -qn %{gh_project}-%{gh_commit} +%patch -P0 -p1 + mkdir rpmdocs cp -pr examples rpmdocs/examples @@ -144,6 +148,11 @@ rm -r %{buildroot}%{_datadir}/doc/%{libname} %changelog +* Thu Nov 21 2024 Remi Collet <remi@remirepo.net> - 2.6.1-1 +- update to 2.6.1 +- fix build with OPENSSL_NO_ENGINE (EL-10) using patch from + https://github.com/confluentinc/librdkafka/pull/4911 + * Fri Oct 11 2024 Remi Collet <remi@remirepo.net> - 2.6.0-1 - update to 2.6.0 |