From c075c1d80105e3f4d3bb29e88aef320f1e36d653 Mon Sep 17 00:00:00 2001 From: songnannan Date: Wed, 18 Mar 2020 18:37:31 +0800 Subject: [PATCH] add obsoletes the python2-dnf --- dnf.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dnf.spec b/dnf.spec index 9142a77..07f693d 100644 --- a/dnf.spec +++ b/dnf.spec @@ -6,7 +6,7 @@ Name: dnf Version: 4.2.15 -Release: 7 +Release: 8 Summary: A software package manager that manages packages on Linux distributions. License: GPLv2+ and GPLv2 and GPL URL: https://github.com/rpm-software-management/dnf @@ -55,6 +55,7 @@ Requires: python3-gpg %{name}-data = %{version}-%{release} libmodule Requires: deltarpm python3-hawkey >= 0.37.0 python3-libdnf >= 0.37.0 Requires: python3-libcomps >= 0.1.8 python3-libdnf python3-rpm >= 4.14.0 Recommends: python3-unbound rpm-plugin-systemd-inhibit +Obsoletes: python2-%{name} %description -n python3-%{name} Python 3 interface to DNF. @@ -203,6 +204,9 @@ ln -sr %{buildroot}%{_sysconfdir}/%{name}/vars %{buildroot}%{_sysconfdir}/yum/v %{_mandir}/man8/%{name}-automatic.8* %changelog +* Wed Mar 18 2020 songnannan - 4.2.15-8 +- add obsoletes the python2-dnf + * Tue Mar 3 2020 openEuler Buildteam - 4.2.15-7 - modify the patch name -- Gitee