[packages/libcgroup] - cgrulesengd requires directory /etc/cgconfig.d to start

hawk hawk at pld-linux.org
Sun Apr 28 23:29:40 CEST 2024


commit 3be873a1e3a1f340d4e2d6a4197fed7ff5806178
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sun Apr 28 21:28:05 2024 +0000

    - cgrulesengd requires directory /etc/cgconfig.d to start

 libcgroup.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libcgroup.spec b/libcgroup.spec
index 1399d4b..95fe1b9 100644
--- a/libcgroup.spec
+++ b/libcgroup.spec
@@ -4,7 +4,7 @@ Summary:	Tools and library to control and monitor control groups
 Summary(pl.UTF-8):	Narzędzia i biblioteka do kontrolowania i monitorowania grup kontroli
 Name:		libcgroup
 Version:	0.42.2
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Applications/System
 #Source0Download: https://github.com/libcgroup/libcgroup/releases
@@ -144,7 +144,7 @@ Wiązania Pythona do biblioteki libcgroup.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/sysconfig,%{systemdunitdir}}
+install -d $RPM_BUILD_ROOT{/etc/{cgconfig.d,sysconfig},%{systemdunitdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -237,6 +237,7 @@ fi
 %doc README README_daemon
 %attr(754,root,root) /etc/rc.d/init.d/cgconfig
 %attr(754,root,root) /etc/rc.d/init.d/cgred
+%dir /etc/cgconfig.d
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cgred
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cg*.conf
 %{systemdunitdir}/cgconfig.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcgroup.git/commitdiff/3be873a1e3a1f340d4e2d6a4197fed7ff5806178



More information about the pld-cvs-commit mailing list