From 2a99b7dc5e41aa1f3bc1cbcb2f93257f19207342 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 31 Oct 2022 17:52:40 +0800 Subject: [PATCH] optimise spec file --- efivar.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/efivar.spec b/efivar.spec index a0ef2d9..449ec53 100644 --- a/efivar.spec +++ b/efivar.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: efivar Version: 38 @@ -65,6 +65,8 @@ make LIBDIR=%{_libdir} BINDIR=%{_bindir} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_L %makeinstall install -m 0644 src/abignore %{buildroot}%{_includedir}/efivar/.abignore +%generate_compatibility_deps + %check %ifarch x86_64 make abicheck @@ -77,6 +79,8 @@ make abicheck %license COPYING %{_bindir}/efivar %{_bindir}/efisecdb +%{abidir}/efivar-option.list +%{abidir}/efisecdb-option.list %exclude %{_bindir}/efivar-static %{_mandir}/man1/* @@ -90,9 +94,14 @@ make abicheck %{_libdir}/pkgconfig/*.pc %files libs +%dir %{abidir} %{_libdir}/*.so.* +%{abidir}/*.dump %changelog +* Mon Oct 31 2022 mgb01105731 - 38-3 +- optimise spec file + * Sat Oct 08 2022 mgb01105731 - 38-2 - add doc package -- Gitee