public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/assimp] f45: Fix test build
Date: Fri, 13 Nov 2026 11:58:34 GMT	[thread overview]
Message-ID: <179457111467.1.7104456707952111852.rpms-assimp-649294e08793@fedoraproject.org> (raw)

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/

                 reply	other threads:[~2026-11-13 11:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179457111467.1.7104456707952111852.rpms-assimp-649294e08793@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox