[packages/qpid-proton] - updated to 0.40.0
qboosh
qboosh at pld-linux.org
Sat Mar 29 10:53:54 CET 2025
commit 58c680153e94885b67c3c1714bd6915fb9633d7f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 29 09:50:22 2025 +0100
- updated to 0.40.0
no-Werror.patch | 10 +++++-----
qpid-proton.spec | 18 +++++++++---------
2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/qpid-proton.spec b/qpid-proton.spec
index 9088812..8d3d625 100644
--- a/qpid-proton.spec
+++ b/qpid-proton.spec
@@ -9,26 +9,26 @@
Summary: Qpid Proton - AMQP messaging toolkit
Summary(pl.UTF-8): Qpid Proton - narzędzia do komunikacji AMQP
Name: qpid-proton
-Version: 0.39.0
-Release: 4
+Version: 0.40.0
+Release: 1
License: Apache v2.0
Group: Libraries
Source0: https://downloads.apache.org/qpid/proton/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: d910a2ec7ea874dc9f571b38285b7f82
+# Source0-md5: b95610e09cfdbbe4a7b9e6e8c675e96a
Patch0: no-Werror.patch
URL: https://qpid.apache.org/proton/
BuildRequires: cmake >= 3.16
BuildRequires: cyrus-sasl-devel
BuildRequires: doxygen
%{?with_golang:BuildRequires: golang >= 1.11}
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:7
BuildRequires: libuuid-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
-BuildRequires: python3 >= 1:3.8
+BuildRequires: python3 >= 1:3.9
%if %{with python}
BuildRequires: python3-cffi >= 1.0.0
-BuildRequires: python3-devel >= 1:3.8
+BuildRequires: python3-devel >= 1:3.9
BuildRequires: swig-python
%endif
BuildRequires: rpm-build >= 4.6
@@ -93,7 +93,7 @@ Summary: C++ libraries for Qpid Proton
Summary(pl.UTF-8): Biblioteki C++ Qpid Proton
Group: Libraries
Requires: %{name}-c = %{version}-%{release}
-Requires: libstdc++-devel
+Requires: libstdc++-devel >= 6:7
%description cpp
C++ libraries for Qpid Proton.
@@ -184,10 +184,11 @@ Wiązania języka Ruby do szkieletu komunikacji Qpid Proton.
%cmake -B build \
-DBUILD_BINDINGS="cpp%{?with_golang:;go}%{?with_python:;python}%{?with_ruby:;ruby}" \
%{?with_golang:-DBUILD_GO=ON} \
+ -DBUILD_PYTHON_UNBUNDLED_PKG=ON \
%{?with_static_libs:-DBUILD_STATIC_LIBS=ON} \
+ -DENABLE_PYTHON_ISOLATED=OFF \
-DSYSINSTALL_PYTHON=ON \
-DBUILD_TESTING=OFF
-# -DPYTHON_SITEARCH_PACKAGES=%{py_sitedir} \
%{__make} -C build all docs
@@ -216,7 +217,6 @@ cd ../..
%endif
%if %{with ruby}
-
install -d $RPM_BUILD_ROOT%{_libdir}/proton/bindings/ruby
install build/ruby/cproton.so $RPM_BUILD_ROOT%{_libdir}/proton/bindings/ruby
cp -pr build/ruby/gem/lib/* $RPM_BUILD_ROOT%{_libdir}/proton/bindings/ruby
diff --git a/no-Werror.patch b/no-Werror.patch
index 964ac58..cb48b50 100644
--- a/no-Werror.patch
+++ b/no-Werror.patch
@@ -1,14 +1,14 @@
---- qpid-proton-0.39.0/CMakeLists.txt.orig 2024-10-27 19:41:00.565878024 +0100
-+++ qpid-proton-0.39.0/CMakeLists.txt 2024-10-27 20:25:16.041492078 +0100
-@@ -154,11 +154,6 @@ option(ENABLE_BENCHMARKS "Enable buildin
+--- qpid-proton-0.40.0/CMakeLists.txt.orig 2025-03-29 07:44:39.005276646 +0100
++++ qpid-proton-0.40.0/CMakeLists.txt 2025-03-29 07:45:04.345139368 +0100
+@@ -164,11 +164,6 @@ option(BUILD_TOOLS "Enable building comm
option(BUILD_EXAMPLES "Enable building example programs" ON)
option(BUILD_TLS "Enable building separate TLS library for Proton raw connections" OFF)
-# Set any additional compiler specific flags
-set (WERROR_GNU "-Werror")
-set (WERROR_Clang "-Werror")
--set (WERROR_MSVC "")
+-set (WERROR_MSVC "/WX")
-
set (COMMON_WARNING_GNU "-Wall -pedantic-errors")
set (COMMON_WARNING_Clang "-Wall -pedantic")
- set (COMMON_WARNING_MSVC "")
+ string (JOIN " " COMMON_WARNING_MSVC "/W4" "/analyze"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qpid-proton.git/commitdiff/58c680153e94885b67c3c1714bd6915fb9633d7f
More information about the pld-cvs-commit
mailing list