[Tizen] Unset SMACK rules and remove post script (#31) submit/tizen/20200529.025830 submit/tizen_5.5/20200529.025847
author김상욱/Common Platform Lab(SR)/Engineer/삼성전자 <swift.kim@samsung.com>
Mon, 25 May 2020 06:42:48 +0000 (15:42 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 25 May 2020 06:42:48 +0000 (15:42 +0900)
packaging/coreclr-diagnostics.manifest
packaging/coreclr-diagnostics.spec

index 489914ebc6d38043f3749ea93b15c3f6b6dba747..df1e057616d407a7796a8d17d893ecfb205b8de7 100755 (executable)
@@ -3,7 +3,6 @@
     <domain name="_"/>
   </request>
   <assign>
-    <filesystem path="/home/owner/share/.dotnet" label="User::App::Shared" type="transmutable" />
     <filesystem path="/opt/usr/diagnostics-tc" label="User::App::Shared" type="transmutable" />
   </assign>
 </manifest>
index 9ee8d7e1ec5672fe1b6adf614e73562c05ef9136..0654a6595616c9048fa5af6259410c7a2f0ce68d 100755 (executable)
@@ -190,7 +190,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 {} +
 
 %ifarch %{arm}
 for f in $(grep -L "dotnet-" %{buildroot}%{toolsdir}/*.dll); do
@@ -213,12 +212,10 @@ cp -rf packages/xunit.runner.console/*/tools/netcoreapp2.0 %{buildroot}%{tcdir}/
 
 %files tools
 %manifest %{name}.manifest
+%defattr(644,owner,users,-)
 %dir %{toolsdir}
 %{toolsdir}/*
 
-%post tools
-chown -R owner:users /home/owner/share/.dotnet
-
 %ifarch x86_64
 %files test
 %manifest %{name}.manifest