From afd7207bb32e6d2d751fc98755c8aa3a5782e05c Mon Sep 17 00:00:00 2001
From: dirkmueller <>
Date: Mar 26 2025 20:47:50 +0000
Subject: Update socket.io-client-cpp to version 3.1.0 / rev 2 via SR 1256201


https://build.opensuse.org/request/show/1256201
by user dirkmueller + anag+factory

---

diff --git a/.files b/.files
index 9e0ef4c..9bc7c51 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index c322fc8..bf4a22f 100644
--- a/.rev
+++ b/.rev
@@ -7,4 +7,12 @@
     <comment></comment>
     <requestid>1245857</requestid>
   </revision>
+  <revision rev="2" vrev="2">
+    <srcmd5>b1d51e206282833787eaa86d972d8533</srcmd5>
+    <version>3.1.0</version>
+    <time>1743020556</time>
+    <user>anag+factory</user>
+    <comment></comment>
+    <requestid>1256201</requestid>
+  </revision>
 </revisionlist>
diff --git a/socket.io-client-cpp.changes b/socket.io-client-cpp.changes
index 486ce6c..c314949 100644
--- a/socket.io-client-cpp.changes
+++ b/socket.io-client-cpp.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sat Mar 22 14:58:02 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
+
+- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
+
+-------------------------------------------------------------------
 Tue Feb 11 15:11:27 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
 
 - fixup for Tumbleweed
diff --git a/socket.io-client-cpp.spec b/socket.io-client-cpp.spec
index 59238d6..1ac152a 100644
--- a/socket.io-client-cpp.spec
+++ b/socket.io-client-cpp.spec
@@ -27,7 +27,7 @@ License:        MIT
 URL:            https://github.com/socketio/socket.io-client-cpp
 Source:         https://github.com/socketio/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  c++_compiler
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.5
 BuildRequires:  pkgconfig
 BuildRequires:  cmake(RapidJSON)
 BuildRequires:  cmake(websocketpp)
@@ -56,6 +56,7 @@ chmod -x README.md LICENSE
 %build
 %cmake \
 	-DCMAKE_BUILD_TYPE="Release" \
+  -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
 	%{nil}
 %cmake_build