Accepting request 813145 from home:dancermak:branches:Base:System
New upstream release 1.6 OBS-URL: https://build.opensuse.org/request/show/813145 OBS-URL: https://build.opensuse.org/package/show/Base:System/earlyoom?expand=0&rev=23
This commit is contained in:
parent
3de2648c81
commit
34973e181a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:859d044fc5149fb446e4f3cf3278a524c5f74084026152356de6b7c1270b47ce
|
||||
size 48895
|
3
earlyoom-1.6.tar.gz
Normal file
3
earlyoom-1.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b81804fc4470f996014d52252a87a1cf3b43d3d8754140035b10dcee349302b8
|
||||
size 47705
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 10 08:18:22 UTC 2020 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- New upstream release 1.6
|
||||
|
||||
* 1.6, 2020-04-11
|
||||
* Replace old `notify-send` GUI notification logic with `dbus-send` /
|
||||
[systembus-notify](https://github.com/rfjakob/systembus-notify)
|
||||
([#183](https://github.com/rfjakob/earlyoom/issues/183))
|
||||
* `-n`/`-N` now enables the new logic
|
||||
* You need to have
|
||||
[systembus-notify](https://github.com/rfjakob/systembus-notify) running
|
||||
in your GUI session for notifications for work
|
||||
* Handle `/proc` mounted with
|
||||
[hidepid](https://github.com/rfjakob/earlyoom/wiki/proc-hidepid)
|
||||
gracefully ([issue #184](https://github.com/rfjakob/earlyoom/issues/184))
|
||||
|
||||
* v1.5, 2020-03-22
|
||||
* `-p`: set oom_score_adj to `-100` instead of `-1000`
|
||||
([#170](https://github.com/rfjakob/earlyoom/issues/170))
|
||||
* Allow using **both** `-M` and `-m`, and `-S` and `-s`. The lower value
|
||||
(converted to percentages) will be used.
|
||||
* Set memory report interval in `earlyoom.default` to 1 hour instead of 1
|
||||
minute ([#177](https://github.com/rfjakob/earlyoom/issues/177))
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 19 08:50:17 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
|
@ -20,14 +20,14 @@
|
||||
%global _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||
%endif
|
||||
Name: earlyoom
|
||||
Version: 1.4
|
||||
Version: 1.6
|
||||
Release: 0
|
||||
Summary: Early OOM Daemon for Linux
|
||||
License: MIT
|
||||
Group: System/Daemons
|
||||
URL: https://github.com/rfjakob/earlyoom
|
||||
Source0: https://github.com/rfjakob/earlyoom/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source11: earlyoom.sysconfig
|
||||
URL: https://github.com/rfjakob/%{name}
|
||||
Source0: %{URL}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source11: %{name}.sysconfig
|
||||
# pandoc only for `pandoc MANPAGE.md -s -t man > earlyoom.1`
|
||||
BuildRequires: pandoc
|
||||
BuildRequires: pkgconfig
|
||||
@ -41,7 +41,7 @@ earlyoom checks the amount of available memory and free swap, and if both are
|
||||
below critical level, it will kill the largest process (highest oom_score).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
# Fix defaults file location
|
||||
sed -i 's|/default/|/sysconfig/|' earlyoom.service.in
|
||||
@ -50,8 +50,9 @@ sed -i 's|/default/|/sysconfig/|' earlyoom.service.in
|
||||
sed -ri '/LDFLAGS/ s|$| -lrt|' Makefile
|
||||
|
||||
%build
|
||||
CFLAGS='%{optflags} -DVERSION=\"%{version}\" -std=gnu99'
|
||||
%make_build CFLAGS="$CFLAGS" PREFIX=%{_prefix}
|
||||
CFLAGS='%{?build_cflags}%{!?build_cflags:%optflags} -DVERSION=\"%{version}\" -std=gnu99'
|
||||
CPPFLAGS='%{?build_cxxflags}%{!?build_cxxflags:%optflags}'
|
||||
%make_build CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" PREFIX=%{_prefix}
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix} SYSTEMDUNITDIR=%{_unitdir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user