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