From 3c8a8c627827ccacbd5a91df6b3b37747627733d Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Thu, 20 Oct 2022 09:41:31 +0800 Subject: [PATCH] optimise spec file --- libtevent.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libtevent.spec b/libtevent.spec index 467ea41..f19c4de 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %bcond_without python3 %global talloc_version 2.3.4 @@ -79,8 +79,12 @@ rm -f doc/man/man3/todo* install -d -m0755 %{buildroot}%{_mandir} cp -a doc/man/man3 %{buildroot}%{_mandir} +%generate_compatibility_deps + %files +%dir %{abidir} %{_libdir}/libtevent.so.* +%{abidir}/libtevent*.dump %files devel %{_includedir}/tevent.h @@ -93,11 +97,15 @@ cp -a doc/man/man3 %{buildroot}%{_mandir} %{python3_sitearch}/tevent.py %{python3_sitearch}/__pycache__/tevent.* %{python3_sitearch}/_tevent.cpython*.so +%{abidir}/_tevent.cpython*.dump %endif %ldconfig_scriptlets %changelog +* Thu Oct 20 2022 mgb01105731 - 0.13.0-2 +- optimise spec file + * Fri Sep 23 2022 mgb01105731 - 0.13.0-1 - update to 0.13.0 -- Gitee