Make obsoleted package removed without asking
Messages provided by dnf are somehow confusing. If user wants more recent version, let it upgrade without additional flags to dnf.
This commit is contained in:
parent
e1df65a0ce
commit
57baf9aea1
@ -110,6 +110,10 @@ The devel package contains the unbound library and the include files
|
|||||||
%package libs
|
%package libs
|
||||||
Summary: Libraries used by the unbound server and client applications
|
Summary: Libraries used by the unbound server and client applications
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
%if ! 0%{with_python2}
|
||||||
|
# Make explicit conflict with no longer provided python package
|
||||||
|
Obsoletes: python2-unbound < 1.9.3
|
||||||
|
%endif
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
Contains libraries used by the unbound server and client applications
|
Contains libraries used by the unbound server and client applications
|
||||||
@ -132,7 +136,7 @@ Summary: Python 3 modules and extensions for unbound
|
|||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
%if ! 0%{with_python2}
|
%if ! 0%{with_python2}
|
||||||
# Make explicit conflict with no longer provided python package
|
# Make explicit conflict with no longer provided python package
|
||||||
Obsoletes: python2-unbound <= 1.8.3
|
Conflicts: python2-unbound < 1.9.3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description -n python3-unbound
|
%description -n python3-unbound
|
||||||
|
Loading…
Reference in New Issue
Block a user