spec: Remove preview yum_compat_level
CMake build script stopped creating yum4 executable when
Python 2 support was removed with commit
92f03d1e13
([spec] Remove python 2).
Therefore the preview level cannot be enabled anymore and this patch
removes it to simplify the spec file.
This commit is contained in:
parent
e8ad542ea9
commit
917a8baba0
8
dnf.spec
8
dnf.spec
|
@ -34,7 +34,6 @@
|
|||
# level=full -> deploy all compat symlinks (conflicts with yum < 4)
|
||||
# level=minimal -> deploy a subset of compat symlinks only
|
||||
# (no conflict with yum >= 3.4.3-505)*
|
||||
# level=preview -> minimal level with altered paths (no conflict with yum < 4)
|
||||
# *release 505 renamed /usr/bin/yum to /usr/bin/yum-deprecated
|
||||
%global yum_compat_level full
|
||||
%global yum_subpackage_name yum
|
||||
|
@ -48,7 +47,6 @@
|
|||
%endif
|
||||
%endif
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
%global yum_compat_level preview
|
||||
%global yum_subpackage_name nextgen-yum4
|
||||
%endif
|
||||
|
||||
|
@ -372,12 +370,6 @@ popd
|
|||
%{_mandir}/man8/yum.8*
|
||||
%endif
|
||||
|
||||
%if "%{yum_compat_level}" == "preview"
|
||||
%{_bindir}/yum4
|
||||
%{_mandir}/man8/yum4.8*
|
||||
%exclude %{_mandir}/man8/yum.8*
|
||||
%endif
|
||||
|
||||
%files -n python3-%{name}
|
||||
%{_bindir}/%{name}-3
|
||||
%{_bindir}/%{name}4
|
||||
|
|
Loading…
Reference in New Issue