summaryrefslogtreecommitdiff
path: root/packaging/coreclr.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/coreclr.spec')
-rwxr-xr-xpackaging/coreclr.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index ad54d76..8e28c74 100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -37,6 +37,7 @@ Requires: libgcc
Requires: libstdc++
Requires: libunwind
Requires: libuuid
+Requires(post): /usr/bin/chsmack
# Accelerate python, clang
%ifarch %{arm}
@@ -296,6 +297,10 @@ cp %{_reldir}/SOS.NETCore.dll %{buildroot}%{_datadir}/%{netcoreappdir}
%dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.1
%dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.4
+%post
+mkdir -p /opt/etc/skel/.dotnet
+chsmack -t -a User::App::Shared /opt/etc/skel/.dotnet
+
%files test
%manifest %{name}.manifest
%dir %{_datadir}/%{dotnettestdir}