From a3703534420d6699b628ac690982751a1de3c61f Mon Sep 17 00:00:00 2001 From: Pavla Kratochvilova Date: Mon, 14 Mar 2022 09:26:18 +0100 Subject: [PATCH] Update to 4.1.0 --- .gitignore | 1 + dnf-plugins-core.spec | 36 ++++++++++++++++++++++++++++++++---- sources | 2 +- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 149f7d0..b1522c9 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ /dnf-plugins-core-4.0.22.tar.gz /dnf-plugins-core-4.0.23.tar.gz /dnf-plugins-core-4.0.24.tar.gz +/dnf-plugins-core-4.1.0.tar.gz diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index 186ac3f..ec20dea 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -1,6 +1,6 @@ -%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.22} +%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.11.0} %global dnf_plugins_extra 2.0.0 -%global hawkey_version 0.46.1 +%global hawkey_version 0.64.0 %global yum_utils_subpackage_name dnf-utils %if 0%{?rhel} > 7 %global yum_utils_subpackage_name yum-utils @@ -33,8 +33,8 @@ %endif Name: dnf-plugins-core -Version: 4.0.24 -Release: 2%{?dist} +Version: 4.1.0 +Release: 1%{?dist} Summary: Core Plugins for DNF License: GPLv2+ URL: https://github.com/rpm-software-management/dnf-plugins-core @@ -403,6 +403,19 @@ versions of those packages. This allows you to e.g. protect packages from being updated by newer versions. %endif +%if %{with python3} +%package -n python3-dnf-plugin-modulesync +Summary: Download module metadata and packages and create repository +Requires: python3-%{name} = %{version}-%{release} +Requires: createrepo_c >= 0.17.4 +Provides: dnf-plugin-modulesync = %{version}-%{release} +Provides: dnf-command(modulesync) + +%description -n python3-dnf-plugin-modulesync +Download module metadata from all enabled repositories, module artifacts and profiles of matching modules and create +repository. +%endif + %prep %autosetup -p1 %if %{with python2} @@ -763,7 +776,22 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/ %endif %endif +%if %{with python3} +%files -n python3-dnf-plugin-modulesync +%{python3_sitelib}/dnf-plugins/modulesync.* +%{python3_sitelib}/dnf-plugins/__pycache__/modulesync.* +%{_mandir}/man8/dnf-modulesync.* +%endif + %changelog +* Mon Mar 14 2022 Pavla Kratochvilova - 4.1.0-1 +- Add a new subpackage with modulesync command. The command downloads packages from modules and/or creates a repository with modular data. (RhBug:1868047) +- [groups-manager] Use full NEVRA (not only name) for matching packages (RhBug:2013633) +- [repoclosure] Print counts of missing dependencies +- [reposync] Do not stop downloading packages on the first error (RhBug:2009894) +- [versionlock] Fix: Multiple package-name-spec arguments don't lock correctly (RhBug:2001039) (RhBug:2013324) +- [versionlock] Update documentation for adding specifi version (RhBug:2013332) + * Thu Jan 20 2022 Fedora Release Engineering - 4.0.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index bbeaf27..5500e19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dnf-plugins-core-4.0.24.tar.gz) = 3fd6a76d7b9b19c2ac749fa237ebfa34aca4f3e90e4fa7a7013d5f603b2ae733d14714c0c62544955e2f2390aa9a7fb50b996abef37cf1ed8d2105e51f81c8f7 +SHA512 (dnf-plugins-core-4.1.0.tar.gz) = 0a6fb2a9db129bce479777d6858292ca04ee25b2cb4a5362e241d98e7015b0bbeb2be7f1912ac9a443547a308e437a60c91c4e1a45c9108e4ae7e1ee77024c77