earlyoom 1.3-2 (armv7hnl;aarch64;znver1;i686;x86_64) 2020-10215
9999
Status | published | |||||||||||||||
Submitter | tpgxyz [@T] gmail.com | |||||||||||||||
Platform | rolling | |||||||||||||||
Repository | main | |||||||||||||||
URL | https://abf.openmandriva.org/build_lists/673544 | |||||||||||||||
Packages |
|
|||||||||||||||
Build Date | 2020-01-15 08:58:31 +0000 UTC | |||||||||||||||
Last Updated | 2020-01-18 18:23:12.496619676 +0000 UTC |
$ git diff --patch-with-stat --summary 1744e8897073288568d1a0c06c890e6d9615652c..67c68836e0bde41027fb3aa66d497fdeb44b7a87 earlyoom.spec | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/earlyoom.spec b/earlyoom.spec index f187600..c41771c 100644 --- a/earlyoom.spec +++ b/earlyoom.spec @@ -1,12 +1,11 @@ -Name: earlyoom -Version: 1.3 -Release: 1 -License: MIT -URL: https://github.com/rfjakob/earlyoom -Summary: Early OOM Daemon for Linux -Source0: https://github.com/rfjakob/earlyoom/archive/v%{version}/%{name}-%{version}.tar.gz - -BuildRequires: systemd +Summary: Early OOM Daemon for Linux +Name: earlyoom +Version: 1.3 +Release: 2 +License: MIT +URL: https://github.com/rfjakob/earlyoom +Source0: https://github.com/rfjakob/earlyoom/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: systemd-macros %description The oom-killer generally has a bad reputation among Linux users. @@ -28,19 +27,15 @@ sed -e '/systemctl/d' -i Makefile %install %make_install PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} SYSTEMDUNITDIR=%{_unitdir} +install -d %{buildroot}%{_presetdir} +cat > %{buildroot}%{_presetdir}/86-%{name}.preset << EOF +enable %{name}.service +EOF + %files %doc README.md %license LICENSE %{_bindir}/%{name} +%{_presetdir}/86-%{name}.preset %{_unitdir}/%{name}.service -#{_mandir}/man1/%{name}.* %config(noreplace) %{_sysconfdir}/default/%{name} - -%post -%systemd_post %{name}.service - -%preun -%systemd_preun %{name}.service - -%postun -%systemd_postun_with_restart %{name}.service
Not Available
benbullard79 [@T] cox.net | We *think* these are OK | 1551d 18hrs |
benbullard79 [@T] cox.net | These should be OK | 1551d 18hrs |
benbullard79 [@T] cox.net | These should be OK | 1551d 18hrs |