File project.diff of Package gc

--- gc.spec.orig
+++ gc.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package gc
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,20 @@
 #
 
 
+%{!?make_build:%global make_build make %{?_smp_mflags}}
 Name:           gc
-Version:        8.2.8
+Version:        8.3.0~20250825T210403
 Release:        0
 Summary:        A garbage collector for C and C++
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
 URL:            http://www.hboehm.info/gc/
-
-#Git-Clone:	https://github.com/ivmai/bdwgc
-Source:         https://github.com/ivmai/bdwgc/releases/download/v%version/%name-%version.tar.gz
+Source:         %name-%version.tar.xz
 BuildRequires:  autoconf >= 2.64
 BuildRequires:  c++_compiler
+BuildRequires:  libatomic_ops-devel
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(atomic_ops)
 
 %description
 The Boehm-Demers-Weiser conservative garbage collector can be used as a
@@ -100,7 +99,12 @@ done
 make check -j1
 %endif
 
+%if %{undefined ldconfig_scriptlets}
+%post -n libgc1 -p /sbin/ldconfig
+%postun -n libgc1 -p /sbin/ldconfig
+%else
 %ldconfig_scriptlets -n libgc1
+%endif
 
 %files -n libgc1
 %_libdir/libcord.so.1*
openSUSE Build Service is sponsored by