summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-07-12 23:19:24 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 12:49:14 (GMT)
commitc0b0ba380b38f2898c630af833f41c5a9f7da4b1 (patch)
tree6552157905938fdbf7c041977b9f2d8de2dfa6b3
parentcc64376513da73d3e11280627ee5c01084b44431 (diff)
downloadcoreclr-c0b0ba380b38f2898c630af833f41c5a9f7da4b1.zip
coreclr-c0b0ba380b38f2898c630af833f41c5a9f7da4b1.tar.gz
coreclr-c0b0ba380b38f2898c630af833f41c5a9f7da4b1.tar.bz2
[Tizen] Provide symlinks to .NET version for compatibility
This commit will be reverted soon when all dependent modules watch the symlink at '/usr/share/dotnet.tizen/netcoreapp'. Change-Id: Ib2ebf62a5788e225a9e3354f53fadde282708700
-rwxr-xr-xpackaging/coreclr.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 38cfc14..abd815b 100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -218,6 +218,10 @@ mkdir -p %{buildroot}%{_datadir}/%{dotnetfwdir}
mkdir -p %{buildroot}%{_datadir}/%{dotnettestdir}
ln -sf %{_datadir}/%{netcoreappdir} %{buildroot}%{_datadir}/%{dotnettizendir}/netcoreapp
+# symlink to .NET version for compatibility
+ln -sf %{dotnet_version} %{buildroot}%{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.0.0
+ln -sf %{dotnet_version} %{buildroot}%{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.0
+
%if 0%{skipnative}
%else
cp %{_reldir}/corerun %{buildroot}%{_datadir}/%{netcoreappdir}
@@ -284,6 +288,10 @@ cp %{_reldir}/SOS.NETCore.dll %{buildroot}%{_datadir}/%{netcoreappdir}
%{_datadir}/%{dotnetdir}/corerun
%{_datadir}/%{dotnettizendir}/netcoreapp
+# symlink to .NET version for compatibility
+%dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.0.0
+%dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.0
+
%files extra
%manifest %{name}.manifest
%dir %{_datadir}/%{dotnetfwdir}