Accepting request 931178 from home:matwey:branches:devel:libraries:c_c++

- Require openssl header files in -devel package 

- Enable AMQP-CPP_LINUX_TCP (required for libboostasio.hpp)

- Version 4.3.15
  Drop 0001-Add-missing-include-416.patch: upstreamed

OBS-URL: https://build.opensuse.org/request/show/931178
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libamqpcpp?expand=0&rev=8
This commit is contained in:
2021-11-28 19:17:45 +00:00
committed by Git OBS Bridge
parent ab3904206d
commit d90a74ffe1
5 changed files with 22 additions and 30 deletions

View File

@@ -1,24 +0,0 @@
From 1dc169810d31110e134fbe032be009f5f8e98d73 Mon Sep 17 00:00:00 2001
From: Raoul Wols <raoulwols@gmail.com>
Date: Thu, 5 Aug 2021 17:20:43 +0200
Subject: [PATCH] Add missing include (#416)
---
src/linux_tcp/sslerrorprinter.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/linux_tcp/sslerrorprinter.h b/src/linux_tcp/sslerrorprinter.h
index 03ddb80..fdfd983 100644
--- a/src/linux_tcp/sslerrorprinter.h
+++ b/src/linux_tcp/sslerrorprinter.h
@@ -18,6 +18,7 @@
* Dependencies
*/
#include "openssl.h"
+#include <string>
#include <memory>
/**
--
2.26.2

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ac69a407c0edf9f8f56fdbb56acb4e5e9b331e3243cb95f26b861ae794549f4
size 158382

3
AMQP-CPP-4.3.15.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21e6ae69dcf535cd1be49b272c3ff019134dddc7d812c0050e5d7bf4e19d0c3b
size 159155

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Nov 12 20:25:02 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Require openssl header files in -devel package
-------------------------------------------------------------------
Sat Nov 6 12:56:49 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Enable AMQP-CPP_LINUX_TCP (required for libboostasio.hpp)
-------------------------------------------------------------------
Fri Nov 5 16:45:38 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Version 4.3.15
Drop 0001-Add-missing-include-416.patch: upstreamed
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 24 09:40:54 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com> Fri Sep 24 09:40:54 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>

View File

@@ -18,7 +18,7 @@
%define major 4 %define major 4
%define minor 3 %define minor 3
%define patch 14 %define patch 15
Name: libamqpcpp Name: libamqpcpp
Version: %{major}.%{minor}.%{patch} Version: %{major}.%{minor}.%{patch}
@@ -28,7 +28,6 @@ License: Apache-2.0
Group: Development/Libraries/C++ Group: Development/Libraries/C++
URL: https://github.com/CopernicaMarketingSoftware/AMQP-CPP URL: https://github.com/CopernicaMarketingSoftware/AMQP-CPP
Source0: https://github.com/CopernicaMarketingSoftware/AMQP-CPP/archive/v%{version}.tar.gz#/AMQP-CPP-%{version}.tar.gz Source0: https://github.com/CopernicaMarketingSoftware/AMQP-CPP/archive/v%{version}.tar.gz#/AMQP-CPP-%{version}.tar.gz
Patch0: 0001-Add-missing-include-416.patch
Patch1: 0001-Use-GNUInstallDirs-cmake-module.patch Patch1: 0001-Use-GNUInstallDirs-cmake-module.patch
Patch2: 0001-Fix-TCP-module-build-for-old-gcc-versions.patch Patch2: 0001-Fix-TCP-module-build-for-old-gcc-versions.patch
BuildRequires: cmake BuildRequires: cmake
@@ -59,6 +58,7 @@ generate frames that can be sent to a RabbitMQ server.
Summary: Header files and libraries for %{name} Summary: Header files and libraries for %{name}
Group: Development/Libraries/C++ Group: Development/Libraries/C++
Requires: %{name}%{major}_%{minor} = %{version} Requires: %{name}%{major}_%{minor} = %{version}
Requires: pkgconfig(openssl)
%description devel %description devel
Provides the header files and libraries for %{name}. Provides the header files and libraries for %{name}.
@@ -71,7 +71,7 @@ Group: Development/Tools/Other
Provides examples for using %{name}. Provides examples for using %{name}.
%build %build
%cmake -DAMQP-CPP_BUILD_SHARED=ON %cmake -DAMQP-CPP_BUILD_SHARED:BOOL=ON -DAMQP-CPP_LINUX_TCP:BOOL=ON
%cmake_build %cmake_build
%install %install