From fc6ba2bd58b661f9f93b5f9dd190bb3eea327fb1 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 15 Dec 2022 15:02:49 -0500 Subject: [PATCH] Change container-selinux to a recommends Signed-off-by: Daniel J Walsh --- containers-common.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/containers-common.spec b/containers-common.spec index aea1063..54e8379 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -22,7 +22,7 @@ BuildArch: noarch Summary: Common configuration and documentation for containers BuildRequires: go-md2man 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 Requires: (fuse-overlayfs if fedora-release-identity-server) # SourceN files fetched from upstream @@ -151,9 +151,9 @@ install -m0644 containers.conf %{buildroot}%{_datadir}/containers/containers.con # install secrets patch directory install -d -p -m 755 %{buildroot}/%{_datadir}/rhel/secrets # rhbz#1110876 - update symlinks for subscription management -ln -s %{_sysconfdir}/pki/entitlement %{buildroot}%{_datadir}/rhel/secrets/etc-pki-entitlement -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}/pki/entitlement %{buildroot}%{_datadir}/rhel/secrets/etc-pki-entitlement +ln -s ../../../..%{_sysconfdir}/rhsm %{buildroot}%{_datadir}/rhel/secrets/rhsm +ln -s ../../../..%{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secrets/redhat.repo %files %dir %{_sysconfdir}/containers