Update to 4.0.23

This commit is contained in:
Pavla Kratochvilova 2021-09-23 12:58:14 +02:00
parent 6ef144a98a
commit 048bce839a
4 changed files with 10 additions and 32 deletions

1
.gitignore vendored
View File

@ -55,3 +55,4 @@
/dnf-plugins-core-4.0.19.tar.gz
/dnf-plugins-core-4.0.21.tar.gz
/dnf-plugins-core-4.0.22.tar.gz
/dnf-plugins-core-4.0.23.tar.gz

View File

@ -1,28 +0,0 @@
From 841b00af5c87b4ee7b8eb79152ec8cacf7e54c00 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup@redhat.com>
Date: Fri, 16 Jul 2021 12:52:03 +0200
Subject: [PATCH] Fix 'dnf copr enable' on Fedora 35
The output from linux_distribution() changed so it returns:
>>> distro.linux_distribution()
('Fedora Linux', '35', '')
---
plugins/copr.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/copr.py b/plugins/copr.py
index 4644495..5cf17ef 100644
--- a/plugins/copr.py
+++ b/plugins/copr.py
@@ -431,7 +431,7 @@ Bugzilla. In case of problems, contact the owner of this repository.
dist = linux_distribution()
# Get distribution architecture
distarch = self.base.conf.substitutions['basearch']
- if "Fedora" in dist:
+ if any([name in dist for name in ["Fedora", "Fedora Linux"]]):
if "Rawhide" in dist:
chroot = ("fedora-rawhide-" + distarch)
# workaround for enabling repos in Rawhide when VERSION in os-release
--
libgit2 1.0.1

View File

@ -33,13 +33,12 @@
%endif
Name: dnf-plugins-core
Version: 4.0.22
Release: 3%{?dist}
Version: 4.0.23
Release: 1%{?dist}
Summary: Core Plugins for DNF
License: GPLv2+
URL: https://github.com/rpm-software-management/dnf-plugins-core
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch1: 0001-Fix-dnf-copr-enable-on-Fedora-35.patch
BuildArch: noarch
BuildRequires: cmake
@ -765,6 +764,12 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/
%endif
%changelog
* Thu Sep 23 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 4.0.23-1
- Update to 4.0.23
- [leaves] Show strongly connected components
- [needs-restarting] Fix wrong boot time (RhBug:1960437)
- [playground] Disable playground command, since it doesn't work
* Fri Jul 23 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 4.0.22-3
- Fix 'dnf copr enable' on Fedora 35

View File

@ -1 +1 @@
SHA512 (dnf-plugins-core-4.0.22.tar.gz) = f59a2d523d878573ddfa46632acdecd674630240eaf432d887b5fc49a55b9a20a48115eb43e3154161b3bbbd3d664d61a8b8feb4a1468729efa218bc2ceb04c3
SHA512 (dnf-plugins-core-4.0.23.tar.gz) = b9d65d1f0279be1f1e1cf85456c6e3ed956884a9f85b211c3c0688bf84abddb89d71316158c1fdd50178b37fa74ac833673ae41ca30b331b06850f9e47bd234e