Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsmbios for openSUSE:Factory 
checked in at 2025-02-06 22:02:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsmbios (Old)
 and      /work/SRC/openSUSE:Factory/.libsmbios.new.2316 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsmbios"

Thu Feb  6 22:02:11 2025 rev:50 rq:1243458 version:2.4.3.3.gf01a217

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsmbios/libsmbios.changes      2024-03-26 
19:25:45.369613336 +0100
+++ /work/SRC/openSUSE:Factory/.libsmbios.new.2316/libsmbios.changes    
2025-02-06 22:02:17.890402487 +0100
@@ -1,0 +2,10 @@
+Wed Feb  5 16:11:39 UTC 2025 - Dirk Müller <[email protected]>
+
+- switch to manual service runs
+
+-------------------------------------------------------------------
+Thu Jan 30 11:17:37 UTC 2025 - Markéta Machová <[email protected]>
+
+- Add unittest-drop-makeSuite.patch to adapt the testsuite to Python 3.13
+
+-------------------------------------------------------------------

New:
----
  unittest-drop-makeSuite.patch

BETA DEBUG BEGIN:
  New:
- Add unittest-drop-makeSuite.patch to adapt the testsuite to Python 3.13
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsmbios.spec ++++++
--- /var/tmp/diff_new_pack.xWQPke/_old  2025-02-06 22:02:20.422506428 +0100
+++ /var/tmp/diff_new_pack.xWQPke/_new  2025-02-06 22:02:20.434506921 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsmbios
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Group:          Hardware/Other
 URL:            https://github.com/dell/libsmbios
 Source:         %{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM https://github.com/dell/libsmbios/pull/149 drop 
unittest.makeSuite (dropped in python 3.13)
+Patch:          unittest-drop-makeSuite.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  doxygen

++++++ _service ++++++
--- /var/tmp/diff_new_pack.xWQPke/_old  2025-02-06 22:02:20.658516117 +0100
+++ /var/tmp/diff_new_pack.xWQPke/_new  2025-02-06 22:02:20.690517431 +0100
@@ -1,5 +1,5 @@
 <services>
-  <service name="obs_scm" mode="localonly">
+  <service name="obs_scm" mode="manual">
     <param name="scm">git</param>
     <param name="url">https://github.com/dell/libsmbios.git</param>
     <param name="revision">HEAD</param>
@@ -7,7 +7,7 @@
     <param name="versionformat">@PARENT_TAG@.@[email protected]%h</param>
     <param name="changesgenerate">enable</param>
   </service>
-  <service name="set_version" mode="localonly"/>
+  <service name="set_version" mode="manual"/>
   <service name="tar" mode="buildtime"/>
   <service name="recompress" mode="buildtime">
     <param name="file">*.tar</param>

++++++ libsmbios-2.4.3.3.gf01a217.obscpio ++++++

++++++ unittest-drop-makeSuite.patch ++++++
Index: libsmbios-2.4.3.3.gf01a217/src/pyunit/TestLib.py
===================================================================
--- libsmbios-2.4.3.3.gf01a217.orig/src/pyunit/TestLib.py
+++ libsmbios-2.4.3.3.gf01a217/src/pyunit/TestLib.py
@@ -21,12 +21,10 @@ def parseOptions(*args):
     pass
 
 def runTests( testCase ):
-    testToRun = 'test'
-
     myTestSuite = unittest.TestSuite()
     for i in testCase:
         try:
-            temp = unittest.makeSuite( i, testToRun )
+            temp = unittest.defaultTestLoader.loadTestsFromTestCase( i )
             myTestSuite.addTest(temp)
         except ValueError:
             pass

Reply via email to