Compare commits

..

No commits in common. "rawhide" and "f40" have entirely different histories.

2 changed files with 1 additions and 61 deletions

View file

@ -1,40 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a41914..2b4f4fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.5...4.0)
# This CMakeLists.txt file intended for:
# - development of wslay library
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 5d6aabf..468e8f4 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.5...4.0)
include(CheckIncludeFiles)
check_include_files("sys/epoll.h" HAVE_EPOLL)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 4af972e..741e4ab 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.5...4.0)
# This CMakeLists.txt file intended for:
# - include by master ../CMakeLists.txt
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 344680b..72917a1 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.5...4.0)
find_package(CUnit REQUIRED)

View file

@ -2,15 +2,13 @@
Name: wslay
Version: 1.1.1
Release: 9%{?dist}
Release: 3%{?dist}
Summary: Lightweight WebSocket library in C
License: MIT
URL: https://tatsuhiro-t.github.io/wslay
Source0: https://github.com/tatsuhiro-t/wslay/archive/release-%{version}/%{name}-release-%{version}.tar.gz
# Patch from Debian: https://salsa.debian.org/debian/wslay
Patch0: 10_update_cmake.patch
# Fix build with cmake 4.0. Could be upstreamed but project unmaintained.
Patch1: wslay-cmake4.0-compat.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@ -79,24 +77,6 @@ EOF
%{_libdir}/pkgconfig/lib%{name}.pc
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sun Jul 27 2025 Rémi Verschelde <akien@fedoraproject.org> - 1.1.1-7
- Patch config to support CMake 4.0 with min policy 3.5 (rhbz#2381635)
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild