[Tizen] Unset SMACK rules and remove post script (#31)
author김상욱/Common Platform Lab(SR)/Engineer/삼성전자 <swift.kim@samsung.com>
Mon, 25 May 2020 06:42:48 +0000 (15:42 +0900)
committerMikhail Kurinnoi <m.kurinnoi@samsung.com>
Tue, 5 Dec 2023 16:29:30 +0000 (19:29 +0300)
packaging/coreclr-diagnostics.manifest
packaging/coreclr-diagnostics.spec

index 712cb4003ea7060ae522a91e80595b0e40e0e1ed..a4b92c3c26e1fa990202fa166304455be75d9df6 100755 (executable)
@@ -3,6 +3,5 @@
     <domain name="_"/>
   </request>
   <assign>
-    <filesystem path="/home/owner/share/.dotnet" label="User::App::Shared" type="transmutable" />
   </assign>
 </manifest>
index d09c15b65fb33f8cd1ed858595bc18a2e0ad9bcf..956c83a3cd5a0fdd98763cd59dcb65badaf0ee46 100755 (executable)
@@ -182,7 +182,6 @@ cp %{_artifacts}/Linux.%{_barch}.%{_buildtype}/*.so %{buildroot}%{toolsdir}/%{ri
 for name in counters dump gcdump trace; do
   cp -f %{_artifacts}/dotnet-${name}/%{_buildtype}/netcoreapp*/publish/*.dll %{buildroot}%{toolsdir}
 done
-find %{buildroot}%{toolsdir} -type f -exec chmod 644 {} +
 
 %ifnarch %{ix86}
 for f in $(grep -L "dotnet-" %{buildroot}%{toolsdir}/*.dll); do
@@ -196,8 +195,7 @@ done
 
 %files tools
 %manifest %{name}.manifest
+%defattr(644,owner,users,-)
 %dir %{toolsdir}
 %{toolsdir}/*
 
-%post tools
-chown -R owner:users /home/owner/share/.dotnet