diff --git a/gc.spec b/gc.spec index 7c7621bd514f287bca5174d64c34bc53449da1cb..d507cdd8aa7aaf6c956e7bc19624a2b481905892 100644 --- a/gc.spec +++ b/gc.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Summary: Garbage collector for C and C++ Name: gc Version: 8.2.0 @@ -24,7 +24,7 @@ used as a garbage collecting replacement for C malloc or C++ new. %package devel Summary: Libraries and header files for %{name} development -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} Obsoletes: libgc-devel < %{version}-%{release} Provides: libgc-devel = %{version}-%{release} %description devel @@ -60,6 +60,7 @@ install -p -D -m644 doc/gc.man %{buildroot}%{_mandir}/man3/gc.3 rm -rfv %{buildroot}%{_datadir}/gc/ rm -fv %{buildroot}%{_libdir}/lib*.la +%generate_compatibility_deps %check %ifnarch aarch64 @@ -70,10 +71,15 @@ make check %{?arch_ignore} %ldconfig_scriptlets %files +%dir %{abidir} %{_libdir}/libcord.so.1* %{_libdir}/libgc.so.1* %{_libdir}/libgccpp.so.1* %{_libdir}/libgctba.so* +%{abidir}/libcord.dump +%{abidir}/libgc.dump +%{abidir}/libgccpp.dump +%{abidir}/libgctba.dump %files devel %doc doc/README.environment doc/README.linux @@ -90,8 +96,11 @@ make check %{?arch_ignore} %changelog -* Wed Apr 21 2022 Zhongling He 8.2.0-2 +* Thu Oct 27 2022 mgb01105731 - 8.2.0-3 +- optimise spec file + +* Wed Apr 21 2022 Zhongling He - 8.2.0-2 - Backport c876dc2 from upstream to fix some headers not installed. -* Wed Apr 13 2022 Zhongling He 8.2.0-1 +* Wed Apr 13 2022 Zhongling He - 8.2.0-1 - Init package from upstream v8.2.0