Accepting request 1167928 from home:13ilya:branches:Base:System
- Updated to 1.8 * Changed file earlyoom.1 (MANPAGE.md -s -t man > earlyoom.1). * https://github.com/rfjakob/earlyoom#changelog * Introduce user mem total / meminfo_t.UserMemTotal and calculate MemAvailablePercent. * Added NO_COLOR support. * Fixed handling of processes with a zombie main thread. * Added --sort-by-rss. This will select a process to kill acc to the largest RSS instead of largest oom_score. OBS-URL: https://build.opensuse.org/request/show/1167928 OBS-URL: https://build.opensuse.org/package/show/Base:System/earlyoom?expand=0&rev=39
This commit is contained in:
committed by
Git OBS Bridge
parent
0979e8cdd5
commit
f58657282a
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package earlyoom
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,7 +22,7 @@
|
||||
%global _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||
%endif
|
||||
Name: earlyoom
|
||||
Version: 1.7
|
||||
Version: 1.8
|
||||
Release: 0
|
||||
Summary: Early OOM Daemon for Linux
|
||||
License: MIT
|
||||
@@ -31,6 +31,7 @@ URL: https://github.com/rfjakob/%{name}
|
||||
Source0: https://github.com/rfjakob/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.sysconfig
|
||||
# Inject pre-build earlyoom.1, built on x86_64 machine, as pandoc does not exist on all archs
|
||||
# pandoc MANPAGE.md -s -t man > earlyoom.1
|
||||
Source2: earlyoom.1
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
@@ -45,9 +46,7 @@ below critical level, it will kill the largest process (highest oom_score).
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
# Test if our pre-build earloom.1 is newer than README.md; if not, fail
|
||||
# in case of fail, rebuild the earlyoom.1 out of the build system using
|
||||
# pandoc MANPAGE.md -s -t man > earlyoom.1
|
||||
# Test if our pre-build earloom.1 is newer than README.md; if not, fail.
|
||||
test %{SOURCE2} -nt README.md
|
||||
|
||||
# Fix defaults file location
|
||||
|
Reference in New Issue
Block a user