From 40751425bce5ee3ec3ca793b863052fe6c9d5df0 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 20 Oct 2022 11:11:31 +0800 Subject: [PATCH] optimise spec file --- libssh.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libssh.spec b/libssh.spec index 959270c..fe0c911 100644 --- a/libssh.spec +++ b/libssh.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: libssh Version: 0.10.4 Release: %{anolis_release}%{?dist} @@ -104,6 +104,8 @@ do done; popd +%generate_compatibility_deps + %ldconfig_scriptlets %check @@ -115,10 +117,12 @@ popd %ctest -- -E torture_auth %files +%dir %{abidir} %doc BSD %license COPYING %{_libdir}/libssh.so.4* %{_libdir}/libssh_threads.so.4* +%{abidir}/libssh*.dump %files doc %doc AUTHORS CHANGELOG README @@ -138,6 +142,9 @@ popd %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/libssh/libssh_server.config %changelog +* Thu Oct 20 2022 mgb01105731 - 0.10.4-2 +- optimise spec file + * Mon Sep 19 2022 mgb01105731 - 0.10.4-1 - update to 0.10.4 -- Gitee