10 Commits

Author SHA256 Message Date
45e02c566a Accepting request 1316558 from network:messaging:amqp
OBS-URL: https://build.opensuse.org/request/show/1316558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rabbitmq-c?expand=0&rev=13
2025-11-09 20:08:30 +00:00
ae02268f33 - Fix generated rabbitmq-targets-relwithdebinfo.cmake:
Enabling STATIC libs and deleting .a file breaks
      find_package(rabbitmq-c)

OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-c?expand=0&rev=39
2025-11-08 09:50:44 +00:00
a69c3f77e4 Accepting request 1238931 from network:messaging:amqp
- 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) (forwarded request 1238855 from elimat)

OBS-URL: https://build.opensuse.org/request/show/1238931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rabbitmq-c?expand=0&rev=12
2025-01-20 16:14:45 +00:00
2054fc6141 - 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)

OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-c?expand=0&rev=37
2025-01-20 08:41:19 +00:00
7636508596 Accepting request 1222118 from network:messaging:amqp
- tools: fix default cacert location
- added patches
  fix [bsc#1232541]
  + rabbitmq-c-default-cacert-location.patch

OBS-URL: https://build.opensuse.org/request/show/1222118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rabbitmq-c?expand=0&rev=11
2024-11-07 15:28:27 +00:00
d10d937e14 checkin
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-c?expand=0&rev=35
2024-11-07 11:09:49 +00:00
e9cd9ba290 checkin
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-c?expand=0&rev=34
2024-11-07 10:24:58 +00:00
24a4778f0c checkin
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-c?expand=0&rev=33
2024-11-07 10:16:12 +00:00
f75f2153e0 - tools: fix cacert location
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-c?expand=0&rev=32
2024-11-06 14:42:33 +00:00
083d588207 - fix cacert location
- added patches
  fix [bsc#1232541]
  + rabbitmq-c-cacert.patch

OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-c?expand=0&rev=31
2024-11-06 14:33:44 +00:00
5 changed files with 52 additions and 7 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b652df52c0de4d19ca36c798ed81378cba7a03a0f0c5d498881ae2d79b241c2
size 131818

View 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 */

View File

@@ -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

View File

@@ -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