From 6733c57e224464186fbc5fe0dde33c2af0854a6b Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Tue, 25 Oct 2022 11:39:10 +0800 Subject: [PATCH] optimise spec file --- libdatrie.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libdatrie.spec b/libdatrie.spec index 7c4bc7f..b1304ac 100644 --- a/libdatrie.spec +++ b/libdatrie.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: libdatrie Version: 0.2.13 Release: %{anolis_release}%{?dist} @@ -54,14 +54,18 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool rm -frv %{buildroot}%{_pkgdocdir} find %{buildroot} -name '*.*a' -delete -print +%generate_compatibility_deps + %check LD_LIBRARY_PATH=../datrie/.libs %make_build check %ldconfig_scriptlets %files +%dir %{abidir} %license COPYING %{_libdir}/libdatrie.so.* +%{abidir}/libdatrie.dump %files devel %{_includedir}/datrie/ @@ -75,6 +79,9 @@ LD_LIBRARY_PATH=../datrie/.libs %make_build check %doc AUTHORS ChangeLog NEWS README* %changelog +* Tue Oct 25 2022 mgb01105731 - 0.2.13-3 +- optimise spec file + * Sun Oct 09 2022 mgb01105731 - 0.2.13-2 - add doc package -- Gitee