From 78a5b25da4f9705aa5a61553c9912d055f7171b4 Mon Sep 17 00:00:00 2001 From: chenhaixing Date: Thu, 17 Nov 2022 22:13:01 +0800 Subject: [PATCH 1/2] correct the incorrect Obsoletes --- dnf.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dnf.spec b/dnf.spec index 296b9c6..6cadddd 100644 --- a/dnf.spec +++ b/dnf.spec @@ -3,7 +3,7 @@ Name: dnf Version: 4.14.0 -Release: 1 +Release: 2 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 @@ -64,7 +64,7 @@ Python 3 interface to DNF. %package data Summary: Common data and configuration files for DNF Requires: libreport-filesystem -Obsoletes: %{name}-conf <= %{version}-%{release} %{name} < %{version}-%{release} +Obsoletes: %{name}-conf < %{version}-%{release} %{name} < %{version}-%{release} Provides: %{name}-conf = %{version}-%{release} %description data @@ -229,6 +229,9 @@ ln -sr %{buildroot}%{_sysconfdir}/%{name}/vars %{buildroot}%{_sysconfdir}/yum/v %{_mandir}/man8/%{name}-automatic.8* %changelog +* Thu Nov 17 2022 chenhaixing - 4.14.0-2 +- DESC:correct the incorrect Obsoletes + * Thu Nov 17 2022 chenhaixing - 4.14.0-1 - DESC:upgrade dnf version to 4.14.0 -- Gitee From c332bcae827268440607663bfe5ddc8c3f7e871d Mon Sep 17 00:00:00 2001 From: chenhaixing Date: Sat, 26 Nov 2022 16:49:22 +0800 Subject: [PATCH 2/2] open DT --- dnf.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dnf.spec b/dnf.spec index 6cadddd..02f7afc 100644 --- a/dnf.spec +++ b/dnf.spec @@ -3,7 +3,7 @@ Name: dnf Version: 4.14.0 -Release: 2 +Release: 3 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 @@ -126,6 +126,12 @@ ln -sr %{buildroot}%{_sysconfdir}/%{name}/plugins %{buildroot}%{_sysconfdir}/yu ln -sr %{buildroot}%{_sysconfdir}/%{name}/protected.d %{buildroot}%{_sysconfdir}/yum/protected.d ln -sr %{buildroot}%{_sysconfdir}/%{name}/vars %{buildroot}%{_sysconfdir}/yum/vars +%check +export TERM=linux +pushd build-py3 +ctest -VV +popd + %post %systemd_post dnf-makecache.timer @@ -229,6 +235,9 @@ ln -sr %{buildroot}%{_sysconfdir}/%{name}/vars %{buildroot}%{_sysconfdir}/yum/v %{_mandir}/man8/%{name}-automatic.8* %changelog +* Sat Nov 26 2022 chenhaixing - 4.14.0-3 +- DESC:open DT + * Thu Nov 17 2022 chenhaixing - 4.14.0-2 - DESC:correct the incorrect Obsoletes -- Gitee