spec: Simplify %files dnf section for both yum_compat_levels

Miminal level is a subset of full level.
This commit is contained in:
Petr Písař 2024-08-13 16:51:06 +02:00 committed by Marek Blaha
parent 917a8baba0
commit be7001149d
1 changed files with 2 additions and 7 deletions

View File

@ -334,13 +334,13 @@ popd
%{_tmpfilesdir}/%{name}.conf
%files -n %{yum_subpackage_name}
%if "%{yum_compat_level}" == "full"
%{_bindir}/yum
%{_mandir}/man8/yum.8*
%if "%{yum_compat_level}" == "full"
%{_sysconfdir}/yum.conf
%{_sysconfdir}/yum/pluginconf.d
%{_sysconfdir}/yum/protected.d
%{_sysconfdir}/yum/vars
%{_mandir}/man8/yum.8*
%{_mandir}/man5/yum.conf.5.*
%{_mandir}/man8/yum-shell.8*
%{_mandir}/man1/yum-aliases.1*
@ -365,11 +365,6 @@ popd
%exclude %{_mandir}/man1/yum-aliases.1*
%endif
%if "%{yum_compat_level}" == "minimal"
%{_bindir}/yum
%{_mandir}/man8/yum.8*
%endif
%files -n python3-%{name}
%{_bindir}/%{name}-3
%{_bindir}/%{name}4