- added glibc patch (fixes mount headers issue)
--- /dev/null
+--- cgmanager-0.42/cgmanager.c.orig 2019-03-12 17:08:19.000000000 +0100
++++ cgmanager-0.42/cgmanager.c 2023-01-14 12:48:14.065767918 +0100
+@@ -20,7 +20,6 @@
+ #include <frontend.h>
+ #include <sys/resource.h>
+ #include <sys/vfs.h>
+-#include <linux/fs.h>
+
+ struct autoremove_entry {
+ NihList entry;
Summary: Linux cgroup manager
Summary(pl.UTF-8): ZarzÄ…dca linuksowych cgroup
Name: cgmanager
-Version: 0.41
+Version: 0.42
Release: 1
License: GPL v2
Group: Daemons
+#Source0Download: https://linuxcontainers.org/cgmanager/downloads/
Source0: https://linuxcontainers.org/downloads/cgmanager/%{name}-%{version}.tar.gz
-# Source0-md5: 6ebed9ed3bf0751eb3cde47a94c45340
+# Source0-md5: 6cf7549e91a73c56164a28ef4d2980ce
+Patch0: %{name}-glibc.patch
URL: https://linuxcontainers.org/cgmanager/
BuildRequires: dbus-devel >= 1.2.16
BuildRequires: help2man
%prep
%setup -q
+%patch0 -p1
%build
%configure \