11
0

2 Commits

3 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 4 02:52:33 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-new-cmake.patch:
* Support newer version of cmake.
-------------------------------------------------------------------
Wed Nov 27 15:31:45 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,8 @@
#
# spec file for package python-scikit-build
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +37,8 @@ Source: https://files.pythonhosted.org/packages/source/s/scikit-build/sc
Source99: sample-setup.cfg
# PATCH-FIX-UPSTREAM scikit-build-pr1120-upddistutils.patch gh#scikit-build/scikit-build#1120
Patch0: scikit-build-pr1120-upddistutils.patch
# PATCH-FIX-OPENSUSE Support newer cmake
Patch1: support-new-cmake.patch
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch-vcs}

10
support-new-cmake.patch Normal file
View File

@@ -0,0 +1,10 @@
Index: scikit_build-0.18.1/tests/samples/issue-335-support-cmake-source-dir/CMakeLists.txt
===================================================================
--- scikit_build-0.18.1.orig/tests/samples/issue-335-support-cmake-source-dir/CMakeLists.txt
+++ scikit_build-0.18.1/tests/samples/issue-335-support-cmake-source-dir/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.5.0)
project(hello NONE)