From c3d245790d4af9640cdc5a3a088da1091d5f4cc9 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Tue, 25 Oct 2022 13:15:10 +0800 Subject: [PATCH] optimise spec file --- libcap-ng.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libcap-ng.spec b/libcap-ng.spec index 99bdaf6..b3e7dd3 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: libcap-ng Version: 0.8.3 @@ -58,6 +58,7 @@ rm -rf $RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -print -delete find $RPM_BUILD_ROOT -name '*.a' -print -delete +%generate_compatibility_deps %check make check @@ -66,9 +67,11 @@ make check %files +%dir %{abidir} %license COPYING.LIB %attr(0644,root,root) %{_mandir}/man7/* %{_libdir}/*.so.* +%{abidir}/*.dump %files devel %attr(0644,root,root) %{_mandir}/man3/* @@ -84,9 +87,13 @@ make check %files utils %license COPYING %attr(0755,root,root) %{_bindir}/* +%{abidir}/*-option.list %attr(0644,root,root) %{_mandir}/man8/* %changelog +* Tue Oct 25 2022 mgb01105731 - 0.8.3-2 +- optimise spec file + * Thu Sep 22 2022 mgb01105731 - 0.8.3-1 - update to 0.8.3 -- Gitee