diff --git a/_service b/_service index 5079d1f..d6e7bd9 100644 --- a/_service +++ b/_service @@ -1,5 +1,5 @@ - + git https://github.com/dell/libsmbios.git HEAD @@ -7,7 +7,7 @@ @PARENT_TAG@.@TAG_OFFSET@.g%h enable - + *.tar diff --git a/libsmbios-2.4.3.3.gf01a217.obscpio b/libsmbios-2.4.3.3.gf01a217.obscpio index a03469d..f5ba812 100644 --- a/libsmbios-2.4.3.3.gf01a217.obscpio +++ b/libsmbios-2.4.3.3.gf01a217.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f311138f4a4f6cbfbec18a8616a0638d8ac8f68f41b7bd8c5e980059be7f3777 +oid sha256:2763b743c37145e2d1b68100348016fa546af3ceb5e154958816980cd88491be size 3425804 diff --git a/libsmbios.changes b/libsmbios.changes index 290d357..76eae9b 100644 --- a/libsmbios.changes +++ b/libsmbios.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 5 16:11:39 UTC 2025 - Dirk Müller + +- switch to manual service runs + +------------------------------------------------------------------- +Thu Jan 30 11:17:37 UTC 2025 - Markéta Machová + +- Add unittest-drop-makeSuite.patch to adapt the testsuite to Python 3.13 + ------------------------------------------------------------------- Thu Mar 14 10:53:06 UTC 2024 - pgajdos@suse.com @@ -41,10 +51,10 @@ Fri Jan 10 21:44:30 UTC 2020 - Bjørn Lie Wed Nov 21 13:49:06 UTC 2018 - Enno Gotthold - Fixed build through adding a recrompress at buildtime and changing the - Source in the specfile. + Source in the specfile. ------------------------------------------------------------------- -Fri Nov 09 10:37:47 UTC 2018 - egotthold@suse.de +Fri Nov 09 10:37:47 UTC 2018 - egotthold@suse.de - Updated _service file to the modern obs_scm, so that the maintenance is less time cosuming and the obs needs less space to store the sources. @@ -217,7 +227,7 @@ Fri May 13 20:23:47 UTC 2011 - asterios.dramis@gmail.com ------------------------------------------------------------------- Tue May 10 02:55:25 UTC 2011 - crrodriguez@opensuse.org -- Fix build with GCC 4.6 +- Fix build with GCC 4.6 ------------------------------------------------------------------- Fri Mar 18 20:55:11 UTC 2011 - asterios.dramis@gmail.com @@ -246,24 +256,24 @@ Fri Mar 18 20:55:11 UTC 2011 - asterios.dramis@gmail.com ------------------------------------------------------------------- Wed Oct 28 17:28:59 UTC 2009 - crrodriguez@opensuse.org -- libsmbios-devel Requires libstdc++-devel +- libsmbios-devel Requires libstdc++-devel ------------------------------------------------------------------- Mon Mar 2 17:15:14 CET 2009 - crrodriguez@suse.de -- fix build with GCC 4.4 +- fix build with GCC 4.4 ------------------------------------------------------------------- Fri Nov 7 11:44:16 CET 2008 - dkukawka@suse.de -- fixed spec: +- fixed spec: - added Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*) for libsmbios2 and libsmbios-bin to fix bnc#440814 ------------------------------------------------------------------- Wed Aug 13 18:16:16 CEST 2008 - ro@suse.de -- change ExcludeArch to ExclusiveArch +- change ExcludeArch to ExclusiveArch ------------------------------------------------------------------- Tue Jul 29 09:45:25 CEST 2008 - coolo@suse.de @@ -273,7 +283,7 @@ Tue Jul 29 09:45:25 CEST 2008 - coolo@suse.de ------------------------------------------------------------------- Mon Jul 7 20:19:32 CEST 2008 - dkukawka@suse.de -- change naming of the lib package because of 'Shared Library +- change naming of the lib package because of 'Shared Library Packaging Policy' and rpmlint - updated to latest version v2.0.2 @@ -287,7 +297,7 @@ Mon Jun 2 17:53:10 CEST 2008 - dkukawka@suse.de ------------------------------------------------------------------- Mon Mar 10 01:53:00 CET 2008 - crrodriguez@suse.de -- dont buildrequire libxml, only libxml2 is used +- dont buildrequire libxml, only libxml2 is used ------------------------------------------------------------------- Fri Mar 7 14:53:54 CET 2008 - dmueller@suse.de @@ -303,7 +313,7 @@ Tue Jan 8 19:00:09 CET 2008 - dkukawka@suse.de ------------------------------------------------------------------- Sat Dec 29 10:04:52 CET 2007 - crrodriguez@suse.de -- fix library-without-ldconfig-postun errors +- fix library-without-ldconfig-postun errors ------------------------------------------------------------------- Wed Dec 19 18:47:41 CET 2007 - dkukawka@suse.de @@ -316,22 +326,22 @@ Sun Nov 4 15:34:03 CET 2007 - dkukawka@suse.de - updated to new version 0.13.12: - removed upstream gone patch: - libsmbios-fix-includes.diff -- fixed spec-file: +- fixed spec-file: - binaries moved from /usr/bin to /usr/sbin ------------------------------------------------------------------- Tue Oct 16 14:08:56 CEST 2007 - dkukawka@suse.de - updated to new version 0.13.10: - - Fix a couple of failure-to-check-return on fopen. most were + - Fix a couple of failure-to-check-return on fopen. most were unit-test code only, but two or three were in regular code. - - Add hinting to the memory class, so that it can intelligently - close /dev/mem file handle when it is not needed (which is - most of the time). it only leaves it open when it is scanning, + - Add hinting to the memory class, so that it can intelligently + close /dev/mem file handle when it is not needed (which is + most of the time). it only leaves it open when it is scanning, so speed is not impacted. - new upstream - added patches: - - libsmbios-fix-includes.diff: fix missing includes (needed to + - libsmbios-fix-includes.diff: fix missing includes (needed to build in beta tree) ------------------------------------------------------------------- @@ -354,10 +364,10 @@ Wed May 2 13:55:51 CEST 2007 - dkukawka@suse.de ------------------------------------------------------------------- Mon Mar 26 14:56:54 CEST 2007 - dkukawka@suse.de -- updated to new version 0.13.4 as requested by DELL maintainer +- updated to new version 0.13.4 as requested by DELL maintainer - autotools conversion - - new util dellWirelessCtl to control builtin wireless on Dell - laptops + - new util dellWirelessCtl to control builtin wireless on Dell + laptops ------------------------------------------------------------------- Sun Mar 4 00:37:22 CET 2007 - dkukawka@suse.de @@ -370,7 +380,7 @@ Sun Mar 4 00:37:22 CET 2007 - dkukawka@suse.de Wed Feb 28 20:58:32 CET 2007 - dkukawka@suse.de - updated to new version 0.12.4: - * the package no longer provide bios_update_tools subpackage, + * the package no longer provide bios_update_tools subpackage, since they are no longer part of the source ------------------------------------------------------------------- diff --git a/libsmbios.spec b/libsmbios.spec index f7746c0..2ca96c0 100644 --- a/libsmbios.spec +++ b/libsmbios.spec @@ -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 @@ License: GPL-2.0-or-later OR OSL-2.1 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 diff --git a/unittest-drop-makeSuite.patch b/unittest-drop-makeSuite.patch new file mode 100644 index 0000000..ccba4c0 --- /dev/null +++ b/unittest-drop-makeSuite.patch @@ -0,0 +1,18 @@ +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