Change container-selinux to a recommends

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2022-12-15 15:02:49 -05:00
parent c30138dcb3
commit fc6ba2bd58
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028

View File

@ -22,7 +22,7 @@ BuildArch: noarch
Summary: Common configuration and documentation for containers Summary: Common configuration and documentation for containers
BuildRequires: go-md2man BuildRequires: go-md2man
Provides: skopeo-containers = %{epoch}:%{version}-%{release} Provides: skopeo-containers = %{epoch}:%{version}-%{release}
Requires: (container-selinux >= 2:2.162.1 if selinux-policy) Recommends: (container-selinux >= 2:2.162.1 if selinux-policy)
Recommends: fuse-overlayfs Recommends: fuse-overlayfs
Requires: (fuse-overlayfs if fedora-release-identity-server) Requires: (fuse-overlayfs if fedora-release-identity-server)
# SourceN files fetched from upstream # SourceN files fetched from upstream
@ -151,9 +151,9 @@ install -m0644 containers.conf %{buildroot}%{_datadir}/containers/containers.con
# install secrets patch directory # install secrets patch directory
install -d -p -m 755 %{buildroot}/%{_datadir}/rhel/secrets install -d -p -m 755 %{buildroot}/%{_datadir}/rhel/secrets
# rhbz#1110876 - update symlinks for subscription management # rhbz#1110876 - update symlinks for subscription management
ln -s %{_sysconfdir}/pki/entitlement %{buildroot}%{_datadir}/rhel/secrets/etc-pki-entitlement ln -s ../../../..%{_sysconfdir}/pki/entitlement %{buildroot}%{_datadir}/rhel/secrets/etc-pki-entitlement
ln -s %{_sysconfdir}/rhsm %{buildroot}%{_datadir}/rhel/secrets/rhsm ln -s ../../../..%{_sysconfdir}/rhsm %{buildroot}%{_datadir}/rhel/secrets/rhsm
ln -s %{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secrets/redhat.repo ln -s ../../../..%{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secrets/redhat.repo
%files %files
%dir %{_sysconfdir}/containers %dir %{_sysconfdir}/containers