public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glances] epel10: Patch to fix bug #914837 (noSuchProcess)
@ 2026-08-30 14:22 Edouard Bourguignon
0 siblings, 0 replies; only message in thread
From: Edouard Bourguignon @ 2026-08-30 14:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/glances
Branch : epel10
Commit : 0fc06cc24a2a4e672d1729fe45cf55d5653fc6b0
Author : Edouard Bourguignon <madko@linuxed.net>
Date : 2013-02-22T07:50:26+01:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/glances/c/0fc06cc24a2a4e672d1729fe45cf55d5653fc6b0?branch=epel10
Log:
Patch to fix bug #914837 (noSuchProcess)
---
diff --git a/glances-1.5.2-noSuchProcess.patch b/glances-1.5.2-noSuchProcess.patch
new file mode 100644
index 0000000..caf6273
--- /dev/null
+++ b/glances-1.5.2-noSuchProcess.patch
@@ -0,0 +1,12 @@
+diff -Naur glances-1.5.2.ori/glances/glances.py glances-1.5.2/glances/glances.py
+--- glances-1.5.2.ori/glances/glances.py 2012-12-28 18:50:56.000000000 +0100
++++ glances-1.5.2/glances/glances.py 2013-02-22 06:41:35.073000000 +0100
+@@ -575,6 +575,8 @@
+ except KeyError:
+ # Key did not exist, create it
+ self.processcount[str(proc.status)] = 1
++ except NoSuchProcess:
++ continue
+ self.processcount['total'] += 1
+
+ def getcount(self):
diff --git a/glances.spec b/glances.spec
index 9d311be..d3b18dc 100644
--- a/glances.spec
+++ b/glances.spec
@@ -5,13 +5,14 @@
Name: glances
Version: 1.5.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: CLI curses based monitoring tool
Group: Applications/System
License: GPLv3
URL: https://github.com/nicolargo/glances
Source0: https://github.com/downloads/nicolargo/%{name}/%{name}-%{version}.tar.gz
+Patch0: glances-1.5.2-noSuchProcess.patch
BuildArch: noarch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%if 0%{?rhel} && 0%{?rhel} <= 5
@@ -31,6 +32,7 @@ It is developed in Python.
%prep
%setup -q
+%patch0 -p1
%build
@@ -57,6 +59,9 @@ rm -rf %{buildroot}
%{_datadir}/man/man1/glances.1.gz
%changelog
+* Sat Feb 23 2013 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-3
+- Patch to fix bug #914837 (noSuchProcess)
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-30 14:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 14:22 [rpms/glances] epel10: Patch to fix bug #914837 (noSuchProcess) Edouard Bourguignon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox