import dnf-plugins-core-4.0.21-8.el8
This commit is contained in:
parent
b359e6ae6a
commit
227d720f15
@ -0,0 +1,25 @@
|
|||||||
|
From dc13ed6bab62a38ef74b00376e2ba05c82115e47 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nicola Sella <nsella@redhat.com>
|
||||||
|
Date: Thu, 8 Jul 2021 15:54:21 +0200
|
||||||
|
Subject: [PATCH] [needs-restarting] Fix wrong boot time (RhBug:1960437)
|
||||||
|
|
||||||
|
---
|
||||||
|
plugins/needs_restarting.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/needs_restarting.py b/plugins/needs_restarting.py
|
||||||
|
index 1fedb73..91dbe66 100644
|
||||||
|
--- a/plugins/needs_restarting.py
|
||||||
|
+++ b/plugins/needs_restarting.py
|
||||||
|
@@ -199,7 +199,7 @@ class ProcessStart(object):
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def get_boot_time():
|
||||||
|
- return int(os.stat('/proc/1/cmdline').st_mtime)
|
||||||
|
+ return int(os.stat('/proc/1').st_mtime)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def get_sc_clk_tck():
|
||||||
|
--
|
||||||
|
libgit2 1.1.0
|
||||||
|
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
Name: dnf-plugins-core
|
Name: dnf-plugins-core
|
||||||
Version: 4.0.21
|
Version: 4.0.21
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Core Plugins for DNF
|
Summary: Core Plugins for DNF
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
||||||
@ -48,6 +48,7 @@ Patch6: 0006-copr-migrate-all-calls-to-APIv3.patch
|
|||||||
Patch7: 0007-groups-manager-More-benevolent-resolving-of-packages-RhBug2013633.patch
|
Patch7: 0007-groups-manager-More-benevolent-resolving-of-packages-RhBug2013633.patch
|
||||||
Patch8: 0008-versionlock-fix-multi-pkg-lock-RhBug2013324.patch
|
Patch8: 0008-versionlock-fix-multi-pkg-lock-RhBug2013324.patch
|
||||||
Patch9: 0009-Update-documentation-for-adding-specific-version-RhBug2013332.patch
|
Patch9: 0009-Update-documentation-for-adding-specific-version-RhBug2013332.patch
|
||||||
|
Patch10: 0010-needs-restarting-Fix-wrong-boot-time-RhBug1960437.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -771,6 +772,9 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 06 2022 Pavla Kratochvilova <pkratoch@redhat.com> - 4.0.21-8
|
||||||
|
- [needs-restarting] Fix wrong boot time (RhBug:1960437,2022389)
|
||||||
|
|
||||||
* Wed Dec 1 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 4.0.21-7
|
* Wed Dec 1 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 4.0.21-7
|
||||||
- [groups-manager] Use full NEVRA for matching packages instead of only name (RhBug:2013633)
|
- [groups-manager] Use full NEVRA for matching packages instead of only name (RhBug:2013633)
|
||||||
- [versionlock] Fix: Multiple package-name-spec arguments don't lock (RhBug:2013324)
|
- [versionlock] Fix: Multiple package-name-spec arguments don't lock (RhBug:2013324)
|
||||||
|
Loading…
Reference in New Issue
Block a user