Remove requires for policycoreutils-python-utils we don't need it.

This commit is contained in:
Daniel J Walsh 2018-09-22 06:39:25 -04:00
parent 88328244ed
commit 2efd385d7d
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028

View File

@ -27,7 +27,7 @@ Name: container-selinux
Epoch: 2
%endif
Version: 2.73
Release: 1.git%{shortcommit0}%{?dist}
Release: 2.git%{shortcommit0}%{?dist}
License: GPLv2
URL: %{git0}
Summary: SELinux policies for container runtimes
@ -42,7 +42,6 @@ Requires: selinux-policy >= %{selinux_policyver}
Requires(post): selinux-policy-base >= %{selinux_policyver}
Requires(post): selinux-policy-targeted >= %{selinux_policyver}
Requires(post): policycoreutils
Requires(post): policycoreutils-python-utils
Requires(post): libselinux-utils
Requires(post): sed
Obsoletes: %{name} <= 2:1.12.5-13
@ -93,7 +92,6 @@ fi
sed -e "\|container_file_t|h; \${x;s|container_file_t||;{g;t};a\\" -e "container_file_t" -e "}" -i /etc/selinux/${SELINUXTYPE}/contexts/customizable_types
matchpathcon -qV %{_sharedstatedir}/containers || restorecon -R %{_sharedstatedir}/containers &> /dev/null || :
%postun
if [ $1 -eq 0 ]; then
%{_sbindir}/semodule -n -r %{modulenames} docker &> /dev/null || :
@ -111,6 +109,9 @@ fi
%{_datadir}/selinux/*
%changelog
* Sat Sep 22 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.73-2
- Remove requires for policycoreutils-python-utils we don't need it.
* Wed Sep 12 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.73-1
- Define spc_t as a container_domain, so that container_runtime will transition
to spc_t even when setup with nosuid.