From 11f3b69ad85f01caaebd02e0bdb3c2e8a84ad689 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 05 2022 05:24:39 +0000 Subject: import dnf-4.7.0-7.el8 --- diff --git a/SOURCES/0013-Allow-destdir-option-with-modulesync-command.patch b/SOURCES/0013-Allow-destdir-option-with-modulesync-command.patch new file mode 100644 index 0000000..d859553 --- /dev/null +++ b/SOURCES/0013-Allow-destdir-option-with-modulesync-command.patch @@ -0,0 +1,39 @@ +From 6af9938c87cf409f886f21b59ec45c54eda6c8b2 Mon Sep 17 00:00:00 2001 +From: Jaroslav Mracek +Date: Tue, 2 Nov 2021 14:23:22 +0100 +Subject: [PATCH] Allow destdir option with modulesync command + +--- + dnf/cli/cli.py | 2 +- + doc/command_ref.rst | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/dnf/cli/cli.py b/dnf/cli/cli.py +index 6576997..a315201 100644 +--- a/dnf/cli/cli.py ++++ b/dnf/cli/cli.py +@@ -810,7 +810,7 @@ class Cli(object): + if opts.destdir is not None: + self.base.conf.destdir = opts.destdir + if not self.base.conf.downloadonly and opts.command not in ( +- 'download', 'system-upgrade', 'reposync'): ++ 'download', 'system-upgrade', 'reposync', 'modulesync'): + logger.critical(_('--destdir or --downloaddir must be used with --downloadonly ' + 'or download or system-upgrade command.') + ) +diff --git a/doc/command_ref.rst b/doc/command_ref.rst +index f96c0ea..42aec72 100644 +--- a/doc/command_ref.rst ++++ b/doc/command_ref.rst +@@ -182,7 +182,7 @@ Options + ``--downloaddir=, --destdir=`` + Redirect downloaded packages to provided directory. The option has to be used together with the \-\ + :ref:`-downloadonly ` command line option, with the +- ``download`` command (dnf-plugins-core) or with the ``system-upgrade`` command ++ ``download``, ``modulesync`` or ``reposync`` commands (dnf-plugins-core) or with the ``system-upgrade`` command + (dnf-plugins-extras). + + .. _downloadonly-label: +-- +libgit2 1.1.0 + diff --git a/SPECS/dnf.spec b/SPECS/dnf.spec index 7d267d7..345c013 100644 --- a/SPECS/dnf.spec +++ b/SPECS/dnf.spec @@ -66,7 +66,7 @@ It supports RPMs, modules and comps groups & environments. Name: dnf Version: 4.7.0 -Release: 5%{?dist} +Release: 7%{?dist} Summary: %{pkg_summary} # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2+ @@ -84,6 +84,7 @@ Patch9: 0009-comps-Make-the-install_or_skip-method-not-catch-CompsError- Patch10: 0010-doc-Improve-description-of-multilib_policyall-RhBug19966811995630.patch Patch11: 0011-Fix-Python-dnf-API-does-not-respect-cacheonly-RhBug1862970.patch Patch12: 0012-Documentation-API-notes-for-cacheonly.patch +Patch13: 0013-Allow-destdir-option-with-modulesync-command.patch BuildArch: noarch BuildRequires: cmake @@ -383,6 +384,12 @@ popd %{python3_sitelib}/%{name}/automatic/ %changelog +* Fri Jan 14 2022 Pavla Kratochvilova - 4.7.0-7 +- Rebuild with new release number + +* Tue Jan 11 2022 Pavla Kratochvilova - 4.7.0-6 +- Allow destdir option with modulesync command + * Tue Nov 09 2021 Pavla Kratochvilova - 4.7.0-5 - Bump release number because of conflicting version of 8.5 build