From c7dedb0da5fefb66ff014e4bb73e9346867ff03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 13 Jan 2026 17:05:22 +0100 Subject: [PATCH 1/4] Fixed build with cmake-4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- vmmlib-1.8.0-cmake-4-fix.patch | 13 +++++++++++++ vmmlib.spec | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 vmmlib-1.8.0-cmake-4-fix.patch diff --git a/vmmlib-1.8.0-cmake-4-fix.patch b/vmmlib-1.8.0-cmake-4-fix.patch new file mode 100644 index 0000000..a8f1876 --- /dev/null +++ b/vmmlib-1.8.0-cmake-4-fix.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f5498c8..eedffe0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + # Copyright (c) 2011 Daniel Pfeifer + # 2011-2014 Stefan.Eilemann@epfl.ch + +-cmake_minimum_required(VERSION 2.8 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.5 FATAL_ERROR) + project(vmmlib) + + set(VERSION_MAJOR 1) diff --git a/vmmlib.spec b/vmmlib.spec index 660a636..0312774 100644 --- a/vmmlib.spec +++ b/vmmlib.spec @@ -20,7 +20,9 @@ BuildRequires: doxygen BuildRequires: cmake BuildRequires: boost-devel # https://github.com/VMML/vmmlib/pull/101 -Patch0: vmmlib-1.8.0-gcc-13-fix.patch +Patch: vmmlib-1.8.0-gcc-13-fix.patch +# https://github.com/VMML/vmmlib/issues/103 +Patch: vmmlib-1.8.0-cmake-4-fix.patch %description vmmlib is a vector and matrix math library implemented using C++ templates. From d4142ddb0324c55f5804dbeef97fa172293493d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 13 Jan 2026 18:34:12 +0100 Subject: [PATCH 2/4] More fixes for cmake-4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- vmmlib-1.8.0-cmake-4-fix.patch | 13 +++++++++++++ vmmlib.spec | 1 + 2 files changed, 14 insertions(+) diff --git a/vmmlib-1.8.0-cmake-4-fix.patch b/vmmlib-1.8.0-cmake-4-fix.patch index a8f1876..ab64bf5 100644 --- a/vmmlib-1.8.0-cmake-4-fix.patch +++ b/vmmlib-1.8.0-cmake-4-fix.patch @@ -1,3 +1,16 @@ +diff --git a/CMake/common/Common.cmake b/CMake/common/Common.cmake +index 833201e..4b103f0 100644 +--- a/CMake/common/Common.cmake ++++ b/CMake/common/Common.cmake +@@ -12,7 +12,7 @@ if(CMAKE_INSTALL_PREFIX STREQUAL PROJECT_BINARY_DIR) + message(FATAL_ERROR "Cannot install into build directory") + endif() + +-cmake_minimum_required(VERSION 2.8 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.5 FATAL_ERROR) + include(CMakeCompatibility) + + if(EXISTS ${PROJECT_SOURCE_DIR}/CMake/${PROJECT_NAME}.cmake) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5498c8..eedffe0 100644 --- a/CMakeLists.txt diff --git a/vmmlib.spec b/vmmlib.spec index 0312774..00127b8 100644 --- a/vmmlib.spec +++ b/vmmlib.spec @@ -22,6 +22,7 @@ BuildRequires: boost-devel # https://github.com/VMML/vmmlib/pull/101 Patch: vmmlib-1.8.0-gcc-13-fix.patch # https://github.com/VMML/vmmlib/issues/103 +# https://github.com/Eyescale/CMake/pull/606 Patch: vmmlib-1.8.0-cmake-4-fix.patch %description From 0fbc29a576493315f6ee791f81ee8b88342035cf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:01:02 +0000 Subject: [PATCH 3/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- vmmlib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vmmlib.spec b/vmmlib.spec index 00127b8..3974acd 100644 --- a/vmmlib.spec +++ b/vmmlib.spec @@ -6,7 +6,7 @@ Name: vmmlib Version: 1.8.0 -Release: 0.9.%{git_suffix}%{?dist} +Release: 0.10.%{git_suffix}%{?dist} Summary: A vector and matrix math library implemented using C++ templates # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD @@ -67,6 +67,9 @@ cp -a vmmlib %{buildroot}%{_includedir} %{_datadir}/vmmlib/CMake/*.cmake %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 1.8.0-0.10.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 1.8.0-0.9.20220222git364732e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 1603b9357555074f1282270bf8bfd409a82ef0a4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:35:11 +0000 Subject: [PATCH 4/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- vmmlib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vmmlib.spec b/vmmlib.spec index 3974acd..20513c2 100644 --- a/vmmlib.spec +++ b/vmmlib.spec @@ -6,7 +6,7 @@ Name: vmmlib Version: 1.8.0 -Release: 0.10.%{git_suffix}%{?dist} +Release: 0.11.%{git_suffix}%{?dist} Summary: A vector and matrix math library implemented using C++ templates # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD @@ -67,6 +67,9 @@ cp -a vmmlib %{buildroot}%{_includedir} %{_datadir}/vmmlib/CMake/*.cmake %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.8.0-0.11.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 1.8.0-0.10.20220222git364732e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild