The package rpms/oomd.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/oomd.git/commit/?id=60fa9f4cbe6ba71a....
Change: +ExcludeArch: i686 armv7hl
Thanks.
Full change: ============
commit 60fa9f4cbe6ba71a9bda89a8a572fd09213f387e Author: Filipe Brandenburger filbranden@gmail.com Date: Thu Sep 12 14:04:45 2019 -0700
Exclude 32-bit architectures
diff --git a/oomd.spec b/oomd.spec index 5167f74..222d395 100644 --- a/oomd.spec +++ b/oomd.spec @@ -1,11 +1,13 @@ Name: oomd Summary: Userspace Out-Of-Memory (OOM) killer Version: 0.2.0 -Release: 3%{dist} +Release: 4%{dist} License: GPLv2 URL: https://github.com/facebookincubator/oomd/ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+ExcludeArch: i686 armv7hl + BuildRequires: gcc-c++ BuildRequires: meson >= 0.45 BuildRequires: pkgconfig(jsoncpp) @@ -63,5 +65,9 @@ Furthermore, time spent livedlocked in kernelspace is minimized. %systemd_postun_with_restart oomd.service
%changelog +* Thu Sep 12 2019 Filipe Brandenburger filbranden@gmail.com - 0.2.0-4 +- First official build for Fedora +- Exclude 32-bit architectures, which fail to build. + * Tue Sep 10 2019 Filipe Brandenburger filbranden@gmail.com - 0.2.0-3 - Initial release of oomd RPM package
commit babec27e4133bfea10689c83b8fd8365680727ff Author: Filipe Brandenburger filbranden@gmail.com Date: Thu Sep 12 13:29:06 2019 -0700
Update dependency on systemd macros in a way that will work on Koji
diff --git a/oomd.spec b/oomd.spec index 68c48e5..5167f74 100644 --- a/oomd.spec +++ b/oomd.spec @@ -12,8 +12,8 @@ BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(gtest_main) BuildRequires: pkgconfig(gmock) - -%systemd_requires +BuildRequires: systemd-rpm-macros +%{?systemd_requires}
%description Out of memory killing has historically happened inside kernel space. On a
commit 102f27a7782b38950394872c77db48a41bafd9b0 Author: Filipe Brandenburger filbranden@gmail.com Date: Thu Sep 12 13:11:45 2019 -0700
Initial import (#1750983).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7cd88b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/oomd-0.2.0.tar.gz diff --git a/oomd.spec b/oomd.spec new file mode 100644 index 0000000..68c48e5 --- /dev/null +++ b/oomd.spec @@ -0,0 +1,67 @@ +Name: oomd +Summary: Userspace Out-Of-Memory (OOM) killer +Version: 0.2.0 +Release: 3%{dist} +License: GPLv2 +URL: https://github.com/facebookincubator/oomd/ +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc-c++ +BuildRequires: meson >= 0.45 +BuildRequires: pkgconfig(jsoncpp) +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(gtest_main) +BuildRequires: pkgconfig(gmock) + +%systemd_requires + +%description +Out of memory killing has historically happened inside kernel space. On a +memory overcommitted linux system, malloc(2) and friends usually never fail. +However, if an application dereferences the returned pointer and the system has +run out of physical memory, the linux kernel is forced take extreme measures, +up to and including killing processes. This is sometimes a slow and painful +process because the kernel can spend an unbounded amount of time swapping in +and out pages and evicting the page cache. Furthermore, configuring policy is +not very flexible while being somewhat complicated. + +oomd aims to solve this problem in userspace. oomd leverages PSI and cgroupv2 +to monitor a system holistically. oomd then takes corrective action in +userspace before an OOM occurs in kernel space. Corrective action is configured +via a flexible plugin system, in which custom code can be written. By default, +this involves killing offending processes. This enables an unparalleled level +of flexibility where each workload can have custom protection rules. +Furthermore, time spent livedlocked in kernelspace is minimized. + +%prep +%autosetup + +%build +%meson +%meson_build + +%check +%meson_test + +%install +%meson_install + +%files +%license LICENSE +%doc README.md CONTRIBUTING.md CODE_OF_CONDUCT.md docs/ +%{_bindir}/oomd +%{_unitdir}/oomd.service +%config(noreplace) %{_sysconfdir}/oomd/ + +%post +%systemd_post oomd.service + +%preun +%systemd_preun oomd.service + +%postun +%systemd_postun_with_restart oomd.service + +%changelog +* Tue Sep 10 2019 Filipe Brandenburger filbranden@gmail.com - 0.2.0-3 +- Initial release of oomd RPM package diff --git a/sources b/sources new file mode 100644 index 0000000..e1a9d1b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (oomd-0.2.0.tar.gz) = f6ce5483d96ca54558642ec60ce28b6f5ad63460c3af2cda17fdbdea125bc31236a2468db7125077d2a68ca951a21b1ad853e31869fe957ab261b5ec55e7992c
arch-excludes@lists.fedoraproject.org