From: Kamalesh Babulal Date: Thu, 24 Mar 2022 13:55:40 +0000 (-0600) Subject: specfile: fix the samples/config path X-Git-Tag: v3.0~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0c10b95aeb80833f3decc993a38f88cfec3b0e9;p=thirdparty%2Flibcgroup.git 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 --- 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