remove unnecessary cgred group and setgid on binaries
This commit is contained in:
parent
cc62f90cff
commit
3352f97489
@ -5,7 +5,7 @@
|
||||
Summary: Library to control and monitor control groups
|
||||
Name: libcgroup
|
||||
Version: 2.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://libcg.sourceforge.net/
|
||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz
|
||||
@ -111,9 +111,6 @@ install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
|
||||
make -C tests/gunit check
|
||||
%endif
|
||||
|
||||
%pre
|
||||
getent group cgred >/dev/null || groupadd -r cgred
|
||||
|
||||
%post tools
|
||||
%systemd_post cgconfig.service
|
||||
|
||||
@ -155,8 +152,8 @@ getent group cgred >/dev/null || groupadd -r cgred
|
||||
%{_sbindir}/cgconfigparser
|
||||
%{_sbindir}/cgclear
|
||||
%{_bindir}/cgsnapshot
|
||||
%attr(2755, root, cgred) %{_bindir}/cgexec
|
||||
%attr(2755, root, cgred) %{_bindir}/cgclassify
|
||||
%{_bindir}/cgclassify
|
||||
%attr(0755, root, root) %{_bindir}/cgexec
|
||||
%attr(0644, root, root) %{_mandir}/man1/*
|
||||
%attr(0644, root, root) %{_mandir}/man5/*
|
||||
%attr(0644, root, root) %{_mandir}/man8/*
|
||||
@ -179,6 +176,9 @@ getent group cgred >/dev/null || groupadd -r cgred
|
||||
%{_libdir}/pkgconfig/libcgroup.pc
|
||||
|
||||
%changelog
|
||||
* Tue May 18 2021 Nikola Forró <nforro@redhat.com> - 2.0-2
|
||||
- remove unnecessary cgred group and setgid on binaries
|
||||
|
||||
* Sun May 16 2021 Nikola Forró <nforro@redhat.com> - 2.0-1
|
||||
- resolves: #1953968
|
||||
new upstream release 2.0
|
||||
|
Loading…
Reference in New Issue
Block a user