public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/assimp] f45: Fix test build
@ 2026-11-13 11:58 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-11-13 11:58 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/assimp
Branch : f45
Commit : 649294e08793dbe1193b53bcbfc9729815d4b024
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-11-13T12:57:36+01:00
Stats : +16/-5 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/assimp/c/649294e08793dbe1193b53bcbfc9729815d4b024?branch=f45
Log:
Fix test build
---
diff --git a/assimp-tests.patch b/assimp-tests.patch
index 7624338..8d251e9 100644
--- a/assimp-tests.patch
+++ b/assimp-tests.patch
@@ -1,6 +1,6 @@
diff -rupN --no-dereference assimp-6.0.6/CMakeLists.txt assimp-6.0.6-new/CMakeLists.txt
--- assimp-6.0.6/CMakeLists.txt 2026-11-09 21:32:25.000000000 +0100
-+++ assimp-6.0.6-new/CMakeLists.txt 2026-11-13 11:46:44.879559045 +0100
++++ assimp-6.0.6-new/CMakeLists.txt 2026-11-13 12:13:13.985933379 +0100
@@ -843,6 +843,7 @@ IF ( ASSIMP_BUILD_SAMPLES )
ENDIF ()
@@ -10,8 +10,8 @@ diff -rupN --no-dereference assimp-6.0.6/CMakeLists.txt assimp-6.0.6-new/CMakeLi
ENDIF ()
diff -rupN --no-dereference assimp-6.0.6/test/CMakeLists.txt assimp-6.0.6-new/test/CMakeLists.txt
---- assimp-6.0.6/test/CMakeLists.txt 2026-11-13 11:46:43.999458527 +0100
-+++ assimp-6.0.6-new/test/CMakeLists.txt 2026-11-13 11:46:44.880061370 +0100
+--- assimp-6.0.6/test/CMakeLists.txt 2026-11-13 12:13:13.061727070 +0100
++++ assimp-6.0.6-new/test/CMakeLists.txt 2026-11-13 12:13:13.986406690 +0100
@@ -36,6 +36,7 @@
#
#----------------------------------------------------------------------
@@ -26,3 +26,14 @@ diff -rupN --no-dereference assimp-6.0.6/test/CMakeLists.txt assimp-6.0.6-new/te
-add_test( unittests unit )
+gtest_discover_tests(unit)
+diff -rupN assimp-6.0.6/test/CMakeLists.txt assimp-6.0.6-new/test/CMakeLists.txt
+--- assimp-6.0.6/test/CMakeLists.txt 2026-11-13 12:13:14.339459430 +0100
++++ assimp-6.0.6-new/test/CMakeLists.txt 2026-11-13 12:16:21.622940517 +0100
+@@ -247,6 +247,7 @@ target_link_libraries(unit GTest::gtest_
+
+ # RapidJSON
+ find_package(RapidJSON CONFIG REQUIRED)
++ADD_DEFINITIONS( -DRAPIDJSON_HAS_STDSTRING=1)
+
+ IF (ASSIMP_BUILD_DRACO)
+ ADD_DEFINITIONS( -DASSIMP_ENABLE_DRACO )
diff --git a/assimp.spec b/assimp.spec
index d45fc49..867635f 100644
--- a/assimp.spec
+++ b/assimp.spec
@@ -31,7 +31,7 @@ Patch2: %{name}-nozlib.patch
# Fix HTML_OUTPUT dir in doxyfile
# Fix installing images from doc/architecture
Patch3: %{name}-docs.patch
-# Enable ctest
+# Enable ctest and fix test build
Patch4: %{name}-tests.patch
# https://github.com/assimp/assimp/pull/6885
Patch5: CVE-2026-19967.patch
@@ -163,7 +163,7 @@ exclude="utMD5Importer.importBoarMan|utMD5Importer.importBob|utMD2Importer.impor
%doc Readme.md CREDITS
%{_bindir}/assimp
%{_libdir}/libassimp.so.6
-%{_libdir}/libassimp.so.6.0.5
+%{_libdir}/libassimp.so.6.0.6
%files devel
%{_includedir}/assimp/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-13 11:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 11:58 [rpms/assimp] f45: Fix test build Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox