diff --git a/Bugfix-format-problem.patch b/Bugfix-format-problem.patch new file mode 100644 index 0000000..b7736ee --- /dev/null +++ b/Bugfix-format-problem.patch @@ -0,0 +1,12 @@ +diff -urNp a/dnf/base.py b/dnf/base.py +--- a/dnf/base.py 2019-11-05 17:26:35.000000000 +0800 ++++ b/dnf/base.py 2020-01-17 09:10:06.178837683 +0800 +@@ -442,7 +442,7 @@ class Base(object): + logger.info(_("The downloaded packages were saved in cache " + "until the next successful transaction.")) + logger.info(_("You can remove cached packages by executing " +- "'%s'."), "{prog} clean packages").format(prog=dnf.util.MAIN_PROG) ++ "'%s'."), "{prog} clean packages".format(prog=dnf.util.MAIN_PROG)) + + # Do not trigger the lazy creation: + if self._history is not None: diff --git a/dnf.spec b/dnf.spec index ba8faa1..43766dc 100644 --- a/dnf.spec +++ b/dnf.spec @@ -11,11 +11,14 @@ Name: dnf Version: 4.2.15 -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 Source0: https://github.com/rpm-software-management/dnf/archive/%{version}/%{name}-%{version}.tar.gz + +Patch9000: Bugfix-format-problem.patch + BuildArch: noarch BuildRequires: cmake gettext systemd bash-completion %{_bindir}/sphinx-build-3 %{_bindir}/sphinx-build Requires: python3-%{name} = %{version}-%{release} libreport-filesystem python2-%{name} = %{version}-%{release} @@ -246,5 +249,8 @@ ln -sr %{buildroot}%{_sysconfdir}/%{name}/vars %{buildroot}%{_sysconfdir}/yum/v %{_mandir}/man8/%{name}-automatic.8* %changelog +* Fri Jan 17 2020 openEuler Buildteam - 4.2.15-3 +- bug fix format problem + * Mon Jan 6 2020 openEuler Buildteam - 4.2.15-2 - Package Init