The package rpms/python-python-fcl.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-python-fcl.git/commit/?id=5c1... https://src.fedoraproject.org/cgit/rpms/python-python-fcl.git/commit/?id=b2a....
Change: +%ifnarch %{valgrind_arches} +%ifarch %{arm64} %{power64} s390x
Thanks.
Full change: ============
commit 5c1f10177a4fe8272ec756a412fe97bec0b93512 Author: David Abdurachmanov davidlt@rivosinc.com Date: Mon Jul 29 08:44:53 2024 +0300
Skip valgrind tests if no valgrind arches
[..] 71% tests passed, 2 tests failed out of 7 Total Test time (real) = 43.30 sec The following tests FAILED: 2 - ccdtest-valgrind (Not Run) 3 - ccdtest-valgrind-gen-suppressions (Not Run) [..]
Signed-off-by: David Abdurachmanov davidlt@rivosinc.com Signed-off-by: Kristina Hanicova khanicov@redhat.com
diff --git a/python-python-fcl.spec b/python-python-fcl.spec index 02f23db..3231cfc 100644 --- a/python-python-fcl.spec +++ b/python-python-fcl.spec @@ -233,7 +233,7 @@ sed -r -i '/.cpp$/d' %{pyproject_files}
pushd ../libccd-%{libccd_version}/ skips='^($.' -%ifarch %{valgrind_arches} +%ifnarch %{valgrind_arches} skips="${skips}|.*-valgrind.*" %endif skips="${skips})$"
commit 6b958652ac87636db16746d40d51ce6054ce9aa4 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Wed Mar 5 18:03:18 2025 -0500
Patch bundled libccd for CMake 4.0 compatibility
diff --git a/libccd-2.1-cmake4.patch b/libccd-2.1-cmake4.patch new file mode 100644 index 0000000..ab0e1c1 --- /dev/null +++ b/libccd-2.1-cmake4.patch @@ -0,0 +1,27 @@ +From 610b5dd9a6d2a772614d5826cf28d5f4acd22b20 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" code@musicinmybrain.net +Date: Wed, 5 Mar 2025 15:27:16 -0500 +Subject: [PATCH] Update minimum CMake version to 3.12; support CMake 4.0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +CMake 4.0 drops support for CMake <3.5, so minimum versions need to be +adjusted for forward compatibility. As long as we are touching the +minimum version, let’s advance to 3.12, which can be considered the +oldest “modern” CMake release, and which is available in all known +supported Linux distributions today. +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 35bf430..8444333 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8.11) ++cmake_minimum_required(VERSION 3.12) + + if(POLICY CMP0042) + cmake_policy(SET CMP0042 NEW) diff --git a/python-python-fcl.spec b/python-python-fcl.spec index c6aeb0c..02f23db 100644 --- a/python-python-fcl.spec +++ b/python-python-fcl.spec @@ -64,6 +64,9 @@ Patch1001: https://src.fedoraproject.org/rpms/libccd/raw/80bc68bb9f9644aec2 # Convert check_regressions to python3 # Not submitted upstream Patch1002: https://src.fedoraproject.org/rpms/libccd/raw/80bc68bb9f9644aec2e8dbf036e3ac... +# Update minimum CMake version to 3.12; support CMake 4.0 +# https://github.com/danfis/libccd/pull/82 +Patch1003: https://github.com/danfis/libccd/pull/82.patch#/libccd-2.1-cmake4.patch
BuildRequires: python3-devel
@@ -140,7 +143,8 @@ Provides: bundled(fcl) = %{fcl_version} %if %{without system_fcl} %setup -q -T -D -b 1 -n python-fcl-%{version} pushd ../libccd-%{libccd_version}/ -%autopatch -m1000 -M1999 -p0 +%autopatch -m1000 -M1001 -p0 +%autopatch -m1002 -M1999 -p1 popd cp -p ../libccd-%{libccd_version}/BSD-LICENSE libccd-LICENSE
commit b2a1d2a975f6d61f3a664e6dc5e16246a277213e Author: Benjamin A. Beasley code@musicinmybrain.net Date: Wed Mar 5 15:16:28 2025 -0500
Use %{arm64} and %{power64} for aarch64 and pp64le arch. conditionals
diff --git a/python-python-fcl.spec b/python-python-fcl.spec index 7dff447..c6aeb0c 100644 --- a/python-python-fcl.spec +++ b/python-python-fcl.spec @@ -245,21 +245,21 @@ do unset filter case "$(basename "${exe}")" in test_fcl_capsule_capsule) -%ifarch aarch64 +%ifarch %{arm64} filter="${filter--}${filter+:}CapsuleCapsuleSegmentTest/1.NominalSeparatedCase" %endif -%ifarch aarch64 ppc64le +%ifarch %{arm64} %{power64} filter="${filter--}${filter+:}CapsuleCapsuleSegmentTest/0.OverlappingCenterLines" %endif ;; test_gjk_libccd-inl_gjk_doSimplex2) -%ifarch aarch64 ppc64le +%ifarch %{arm64} %{power64} filter="${filter--}${filter+:}DoSimplex2Test.NeedMoreComputing" filter="${filter--}${filter+:}DoSimplex2Test.OriginInSimplex" %endif ;; test_gjk_libccd-inl_epa) -%ifarch aarch64 ppc64le s390x +%ifarch %{arm64} %{power64} s390x filter="${filter--}${filter+:}FCL_GJK_EPA.ComputeVisiblePatchColinearNewVertex" %endif ;;
arch-excludes@lists.fedoraproject.org