From dc7b7a8a752310971b1317db9e467ae7eb68c2c4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:33:51 +0100 Subject: [PATCH] update patch to fix requirement replacing pkgconfig(curl) with pkgconfig(libcurl) [release 2.0.2-2mamba;Sat Feb 11 2023] --- librdkafka-2.0.2-libcurl-pkgconfig.patch | 11 +++++++++++ librdkafka.spec | 23 +++++++++++++++++------ 2 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 librdkafka-2.0.2-libcurl-pkgconfig.patch diff --git a/librdkafka-2.0.2-libcurl-pkgconfig.patch b/librdkafka-2.0.2-libcurl-pkgconfig.patch new file mode 100644 index 0000000..07d0033 --- /dev/null +++ b/librdkafka-2.0.2-libcurl-pkgconfig.patch @@ -0,0 +1,11 @@ +--- librdkafka-2.0.2/src/CMakeLists.txt.orig 2023-02-11 14:43:40.983064404 +0100 ++++ librdkafka-2.0.2/src/CMakeLists.txt 2023-02-11 14:44:05.011918841 +0100 +@@ -296,7 +296,7 @@ + set(PKG_CONFIG_DESCRIPTION "The Apache Kafka C/C++ library") + + if(WITH_CURL) +- string(APPEND PKG_CONFIG_REQUIRES "curl ") ++ string(APPEND PKG_CONFIG_REQUIRES "libcurl ") + endif() + + if(WITH_ZLIB) diff --git a/librdkafka.spec b/librdkafka.spec index 27585d5..3ba84da 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -1,14 +1,15 @@ Name: librdkafka -Version: 1.9.2 -Release: 1mamba +Version: 2.0.2 +Release: 2mamba Summary: A C library implementation of the Apache Kafka protocol Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://github.com/edenhill/librdkafka +URL: https://github.com/confluentinc/librdkafka Source: https://github.com/edenhill/librdkafka.git/v%{version}/librdkafka-%{version}.tar.bz2 Patch0: librdkafka-1.9.2-curl-7.85.0.patch +Patch1: librdkafka-2.0.2-libcurl-pkgconfig.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -39,7 +40,8 @@ This package contains libraries and header files for developing applications tha %prep %setup -q -%patch0 -p1 -b .curl-7.85.0 +#%patch0 -p1 -b .curl-7.85.0 +%patch1 -p1 %build %cmake -d build @@ -65,15 +67,24 @@ This package contains libraries and header files for developing applications tha %defattr(-,root,root) %dir %{_includedir}/librdkafka %{_includedir}/librdkafka/*.h -%dir %{_libdir}/cmake/RdKafka -%{_libdir}/cmake/RdKafka/*.cmake %{_libdir}/librdkafka++.so %{_libdir}/librdkafka.so %{_libdir}/pkgconfig/rdkafka++.pc %{_libdir}/pkgconfig/rdkafka.pc +%dir %{_libdir}/cmake/RdKafka +%{_libdir}/cmake/RdKafka/*.cmake %{_datadir}/licenses/librdkafka/LICENSES.txt %doc README.md README.win32 %changelog +* Sat Feb 11 2023 Silvan Calarco 2.0.2-2mamba +- update patch to fix requirement replacing pkgconfig(curl) with pkgconfig(libcurl) + +* Sat Jan 21 2023 Automatic Build System 2.0.2-1mamba +- automatic version update by autodist + +* Thu Jan 19 2023 Automatic Build System 2.0.0-1mamba +- automatic version update by autodist + * Sat Sep 24 2022 Silvan Calarco 1.9.2-1mamba - package created using the webbuild interface