fix format bug

This commit is contained in:
zhanglu 2020-01-17 09:14:37 +08:00
parent 62ceffb492
commit 63cf0ba729
2 changed files with 19 additions and 1 deletions

View File

@ -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:

View File

@ -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 <buildteam@openeuler.org> - 4.2.15-3
- bug fix format problem
* Mon Jan 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.2.15-2
- Package Init