spec: Simplify %files dnf section for both yum_compat_levels
Miminal level is a subset of full level.
This commit is contained in:
parent
917a8baba0
commit
be7001149d
9
dnf.spec
9
dnf.spec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue