From a10f2bff63186d7593988a7bc58678ebe18dbd73 Mon Sep 17 00:00:00 2001 From: Kaihao Bai Date: Mon, 6 Mar 2023 15:59:42 +0800 Subject: [PATCH] optimize spec --- libtimezonemap.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libtimezonemap.spec b/libtimezonemap.spec index b7c724a..a5c0104 100644 --- a/libtimezonemap.spec +++ b/libtimezonemap.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: libtimezonemap Version: 0.4.5.2 Release: %{anolis_release}%{?dist} @@ -53,13 +53,15 @@ make %{?_smp_mflags} make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la -%ldconfig_scriptlets +%generate_compatibility_deps %files %license COPYING +%dir %{abidir} %{_libdir}/libtimezonemap.so.* %{_libdir}/girepository-1.0/TimezoneMap-1.0.typelib %{_datadir}/%{name} +%{abidir}/libtimezonemap.dump %files doc %doc README TODO @@ -72,6 +74,9 @@ rm -f %{buildroot}%{_libdir}/*.la %{_datadir}/glade/catalogs/TimezoneMap.xml %changelog +* Mon Mar 06 2023 Kaihao Bai - 0.4.5.2-2 +- optimize spec + * Tue Sep 20 2022 mgb01105731 - 0.4.5.2-1 - update to 0.4.5.2 -- Gitee