From edd6311d63b7a52e719fb52987b8c46a96966080 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 24 Oct 2022 14:57:53 +0800 Subject: [PATCH] optimise spec file --- libnl3.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libnl3.spec b/libnl3.spec index 8db0f26..aa5c8c8 100644 --- a/libnl3.spec +++ b/libnl3.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: libnl3 Version: 3.7.0 @@ -76,6 +76,8 @@ pushd ./python/ %py3_install popd +%generate_compatibility_deps + %check make check pushd ./python/ @@ -86,9 +88,12 @@ popd %ldconfig_scriptlets cli %files +%dir %{abidir} %doc COPYING %exclude %{_libdir}/libnl-cli*.so.* %{_libdir}/libnl-*.so.* +%exclude %{abidir}/libnl-cli*.dump +%{abidir}/libnl-*.dump %config(noreplace) %{_sysconfdir}/* %files devel @@ -104,6 +109,8 @@ popd %{_libdir}/libnl/ %{_bindir}/* %{_mandir}/man8/* +%{abidir}/libnl-cli*.dump +%{abidir}/*-option.list %files doc %doc COPYING @@ -113,9 +120,12 @@ popd %files -n python3-libnl3 %{python3_sitearch}/netlink %{python3_sitearch}/netlink-*.egg-info - +%{abidir}/_capi.cpython-310-%{_arch}-linux-gnu.dump %changelog +* Mon Oct 24 2022 mgb01105731 - 3.7.0-2 +- optimise spec file + * Wed Sep 21 2022 mgb01105731 - 3.7.0-1 - update to 3.7.0 -- Gitee