From d0c10b95aeb80833f3decc993a38f88cfec3b0e9 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Thu, 24 Mar 2022 07:55:40 -0600 Subject: [PATCH] specfile: fix the samples/config path Change the location of sample configuration files from sample/ to samples/config/, this movement got introduced by Commit b546e328e00c "samples: Move the config examples to samples/config/"). Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- dist/libcgroup.spec.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in index 78d797fa..bb53efef 100644 --- a/dist/libcgroup.spec.in +++ b/dist/libcgroup.spec.in @@ -56,11 +56,11 @@ make DESTDIR=$RPM_BUILD_ROOT install # install config files mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig -cp samples/cgred.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf -cp samples/cgconfig.sysconfig $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgconfig -cp samples/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf -cp samples/cgrules.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgrules.conf -cp samples/cgsnapshot_blacklist.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgsnapshot_blacklist.conf +cp samples/config/cgred.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf +cp samples/config/cgconfig.sysconfig $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgconfig +cp samples/config/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf +cp samples/config/cgrules.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgrules.conf +cp samples/config/cgsnapshot_blacklist.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgsnapshot_blacklist.conf # sanitize pam module, we need only pam_cgroup.so mv -f $RPM_BUILD_ROOT/%{_lib}/security/pam_cgroup.so.*.*.* $RPM_BUILD_ROOT/%{_lib}/security/pam_cgroup.so -- 2.47.2