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..ab64bf5 --- /dev/null +++ b/vmmlib-1.8.0-cmake-4-fix.patch @@ -0,0 +1,26 @@ +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 ++++ 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-1.8.0-gcc-13-fix.patch b/vmmlib-1.8.0-gcc-13-fix.patch new file mode 100644 index 0000000..1431661 --- /dev/null +++ b/vmmlib-1.8.0-gcc-13-fix.patch @@ -0,0 +1,12 @@ +diff --git a/vmmlib/vector.hpp b/vmmlib/vector.hpp +index 4adc2de..dfbf9fb 100644 +--- a/vmmlib/vector.hpp ++++ b/vmmlib/vector.hpp +@@ -45,6 +45,7 @@ + #include + #include + #include ++#include + + namespace vmml + { diff --git a/vmmlib.spec b/vmmlib.spec index db0840c..20513c2 100644 --- a/vmmlib.spec +++ b/vmmlib.spec @@ -6,9 +6,10 @@ Name: vmmlib Version: 1.8.0 -Release: 0.2.%{git_suffix}%{?dist} +Release: 0.11.%{git_suffix}%{?dist} Summary: A vector and matrix math library implemented using C++ templates -License: BSD +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD #URL: http://vmmlib.sourceforge.net/ URL: http://github.com/VMML/vmmlib/ #Source0: http://github.com/VMML/vmmlib/archive/release-%%{version}.tar.gz#/%%{name}-release-%%{version}.tar.gz @@ -18,6 +19,11 @@ BuildRequires: gcc-c++ BuildRequires: doxygen BuildRequires: cmake 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 vmmlib is a vector and matrix math library implemented using C++ templates. @@ -61,6 +67,33 @@ 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 + +* Fri Jul 25 2025 Fedora Release Engineering - 1.8.0-0.9.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 1.8.0-0.8.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Sep 04 2024 Miroslav Suchý - 1.8.0-0.7.20220222git364732e3 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 1.8.0-0.6.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1.8.0-0.5.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 1.8.0-0.4.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 1.8.0-0.3.20220222git364732e3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 1.8.0-0.2.20220222git364732e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild