Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 45e02c566a | |||
| ae02268f33 | |||
| a69c3f77e4 | |||
| 2054fc6141 | |||
| 7636508596 | |||
| d10d937e14 | |||
| e9cd9ba290 | |||
| 24a4778f0c | |||
| f75f2153e0 | |||
| 083d588207 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:839b28eae20075ac58f45925fe991d16a3138cbde015db0ee11df1acb1c493df
|
||||
size 130220
|
||||
3
rabbitmq-c-0.15.0.tar.gz
Normal file
3
rabbitmq-c-0.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b652df52c0de4d19ca36c798ed81378cba7a03a0f0c5d498881ae2d79b241c2
|
||||
size 131818
|
||||
13
rabbitmq-c-default-cacert-location.patch
Normal file
13
rabbitmq-c-default-cacert-location.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: rabbitmq-c-0.14.0/tools/common.c
|
||||
===================================================================
|
||||
--- rabbitmq-c-0.14.0.orig/tools/common.c
|
||||
+++ rabbitmq-c-0.14.0/tools/common.c
|
||||
@@ -133,7 +133,7 @@ static int amqp_heartbeat = 0;
|
||||
static char *amqp_authfile;
|
||||
#ifdef WITH_SSL
|
||||
static int amqp_ssl = 0;
|
||||
-static char *amqp_cacert = "/etc/ssl/certs/cacert.pem";
|
||||
+static char *amqp_cacert = "/var/lib/ca-certificates/ca-bundle.pem";
|
||||
static char *amqp_key = NULL;
|
||||
static char *amqp_cert = NULL;
|
||||
#endif /* WITH_SSL */
|
||||
@@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 8 09:24:31 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
- Fix generated rabbitmq-targets-relwithdebinfo.cmake:
|
||||
Enabling STATIC libs and deleting .a file breaks
|
||||
find_package(rabbitmq-c)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 19 19:31:11 UTC 2025 - Matthias Eliasson <elimat@opensuse.org>
|
||||
|
||||
- version update to 0.15.0
|
||||
## v0.15.0 - 2024-11-19
|
||||
## Fixed
|
||||
- Warning on MacOS about incompatible function declaration
|
||||
- Logic when decoding AMQP data after bad data may cause crash (#837)
|
||||
- Use SSL_get1_peer_certificate when compiling against OpenSSL 3+
|
||||
## Changed
|
||||
- Updates to various github actions.
|
||||
## Added
|
||||
- Add amqp_publisher_confirm_wait function (#841)
|
||||
- Add amqp_literal_bytes macro (#844)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 11:49:17 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- tools: fix default cacert location
|
||||
- added patches
|
||||
fix [bsc#1232541]
|
||||
+ rabbitmq-c-default-cacert-location.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 11:31:37 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rabbitmq-c
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2012-2015 Remi Collet
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -20,13 +20,15 @@
|
||||
%global libname librabbitmq
|
||||
%global majsonum 4
|
||||
Name: rabbitmq-c
|
||||
Version: 0.14.0
|
||||
Version: 0.15.0
|
||||
Release: 0
|
||||
Summary: Client library for AMQP
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/alanxz/rabbitmq-c
|
||||
Source0: https://github.com/alanxz/rabbitmq-c/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# [bsc#1232541], https://github.com/alanxz/rabbitmq-c/issues/846
|
||||
Patch0: rabbitmq-c-default-cacert-location.patch
|
||||
BuildRequires: cmake > 2.8.12
|
||||
BuildRequires: gcc
|
||||
BuildRequires: openssl-devel
|
||||
@@ -73,19 +75,19 @@ amqp-get Get a message from a queue on an AMQP server
|
||||
amqp-publish Publish a message on an AMQP server
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# static lib required for tests
|
||||
%cmake \
|
||||
-DBUILD_TOOLS_DOCS:BOOL=ON \
|
||||
-DBUILD_STATIC_LIBS:BOOL=ON \
|
||||
-DINSTALL_STATIC_LIBS:BOOL=OFF \
|
||||
-DBUILD_TOOLS:BOOL=ON
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
rm %{buildroot}%{_libdir}/%{libname}.a
|
||||
|
||||
%check
|
||||
# check .pc is usable
|
||||
|
||||
Reference in New Issue
Block a user