From 169ad989bdd3725354ba6ffa8b4256ad061e095e Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Tue, 18 Oct 2022 11:46:21 +0800 Subject: [PATCH] optimise spec file --- npth.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/npth.spec b/npth.spec index 187e177..5b39a73 100644 --- a/npth.spec +++ b/npth.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: npth Version: 1.6 @@ -49,17 +49,22 @@ The %{name}-doc package contains documentation files for %{name}. install -Dpm0644 -t %{buildroot}%{_mandir}/man1 %{S:2} find %{buildroot} -name '*.la' -delete -print +%generate_compatibility_deps + %check make check %ldconfig_scriptlets %files +%dir %{abidir} %license COPYING.LIB %{_libdir}/lib%{name}.so.* +%{abidir}/lib%{name}*.dump %files devel %{_bindir}/%{name}-config +%{abidir}/%{name}-config-option.list %{_libdir}/lib%{name}.so %{_includedir}/%{name}.h %{_mandir}/man1/%{name}-config.1* @@ -69,6 +74,9 @@ make check %doc AUTHORS ChangeLog NEWS README %changelog +* Tue Oct 18 2022 mgb01105731 - 1.6-3 +- optimise spec file + * Thu Sep 29 2022 mgb01105731 - 1.6-2 - add doc package -- Gitee