diff --git a/file.spec b/file.spec index aec576f0a9869a7cb829fc82b553e2b596d1c13d..a66e3b4a2bf0da71c25241721ecd84c7eaf6dab9 100644 --- a/file.spec +++ b/file.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %bcond_without python3 Summary: Utility for determining file types @@ -125,6 +125,8 @@ cd %{py3dir} %endif %{__install} -d ${RPM_BUILD_ROOT}%{_datadir}/%{name} +%generate_compatibility_deps + %ldconfig_scriptlets libs %check @@ -134,6 +136,7 @@ make -C tests check %files %license COPYING %{_bindir}/* +%{abidir}/*-option.list %{_mandir}/man1/* %config(noreplace) %{_sysconfdir}/magic @@ -141,9 +144,11 @@ make -C tests check %doc ChangeLog %files libs +%dir %{abidir} %license COPYING %doc ChangeLog %{_libdir}/*so.* +%{abidir}/*.dump %{_datadir}/magic* %{_mandir}/man5/* %{_datadir}/file @@ -169,6 +174,9 @@ make -C tests check %endif %changelog +* Fri Oct 28 2022 mgb01105731 - 5.41-3 +- optimise spec file + * Fri Sep 30 2022 mgb01105731 - 5.41-2 - add doc package