From 001e67f2bcb6d766aa84246e8c4276bddab9ebb3 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Tue, 18 Oct 2022 17:42:44 +0800 Subject: [PATCH] optimise spec file --- lz4.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lz4.spec b/lz4.spec index 6f6c358..e45bd2a 100644 --- a/lz4.spec +++ b/lz4.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 # relative to the RPM build directory %global _vpath_srcdir contrib/meson @@ -66,11 +66,14 @@ contains static libraries for static linking of applications. %install %meson_install +%generate_compatibility_deps + %files %license programs/COPYING %{_bindir}/lz4 %{_bindir}/lz4c %{_bindir}/lz4cat +%{abidir}/lz4*-option.list %{_bindir}/unlz4 %{_mandir}/man1/lz4.1* %{_mandir}/man1/lz4c.1* @@ -81,8 +84,10 @@ contains static libraries for static linking of applications. %doc NEWS %files libs +%dir %{abidir} %doc lib/LICENSE %{_libdir}/liblz4.so.* +%{abidir}/liblz4*.dump %files devel %{_includedir}/lz4*.h @@ -94,6 +99,9 @@ contains static libraries for static linking of applications. %{_libdir}/liblz4.a %changelog +* Tue Oct 18 2022 mgb01105731 - 1.9.3-3 +- optimise spec file + * Fri Sep 30 2022 mgb01105731 - 1.9.3-2 - add doc package -- Gitee