update patch to fix requirement replacing pkgconfig(curl) with pkgconfig(libcurl) [release 2.0.2-2mamba;Sat Feb 11 2023]
This commit is contained in:
parent
d64bb7743e
commit
dc7b7a8a75
11
librdkafka-2.0.2-libcurl-pkgconfig.patch
Normal file
11
librdkafka-2.0.2-libcurl-pkgconfig.patch
Normal file
@ -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)
|
@ -1,14 +1,15 @@
|
|||||||
Name: librdkafka
|
Name: librdkafka
|
||||||
Version: 1.9.2
|
Version: 2.0.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A C library implementation of the Apache Kafka protocol
|
Summary: A C library implementation of the Apache Kafka protocol
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
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
|
Source: https://github.com/edenhill/librdkafka.git/v%{version}/librdkafka-%{version}.tar.bz2
|
||||||
Patch0: librdkafka-1.9.2-curl-7.85.0.patch
|
Patch0: librdkafka-1.9.2-curl-7.85.0.patch
|
||||||
|
Patch1: librdkafka-2.0.2-libcurl-pkgconfig.patch
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -39,7 +40,8 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .curl-7.85.0
|
#%patch0 -p1 -b .curl-7.85.0
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build
|
||||||
@ -65,15 +67,24 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/librdkafka
|
%dir %{_includedir}/librdkafka
|
||||||
%{_includedir}/librdkafka/*.h
|
%{_includedir}/librdkafka/*.h
|
||||||
%dir %{_libdir}/cmake/RdKafka
|
|
||||||
%{_libdir}/cmake/RdKafka/*.cmake
|
|
||||||
%{_libdir}/librdkafka++.so
|
%{_libdir}/librdkafka++.so
|
||||||
%{_libdir}/librdkafka.so
|
%{_libdir}/librdkafka.so
|
||||||
%{_libdir}/pkgconfig/rdkafka++.pc
|
%{_libdir}/pkgconfig/rdkafka++.pc
|
||||||
%{_libdir}/pkgconfig/rdkafka.pc
|
%{_libdir}/pkgconfig/rdkafka.pc
|
||||||
|
%dir %{_libdir}/cmake/RdKafka
|
||||||
|
%{_libdir}/cmake/RdKafka/*.cmake
|
||||||
%{_datadir}/licenses/librdkafka/LICENSES.txt
|
%{_datadir}/licenses/librdkafka/LICENSES.txt
|
||||||
%doc README.md README.win32
|
%doc README.md README.win32
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-2mamba
|
||||||
|
- update patch to fix requirement replacing pkgconfig(curl) with pkgconfig(libcurl)
|
||||||
|
|
||||||
|
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat Sep 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-1mamba
|
* Sat Sep 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user