summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-07-12 23:19:24 (GMT)
committerAlexander Soldatov/AI Ecosystem Lab /SRR/Staff Engineer/삼성전자 <soldatov.a@samsung.com>2019-02-14 17:24:48 (GMT)
commit28eeed3ed908db7d9f3435c25650c6620bb999dd (patch)
tree0ed33253d7f394027954f209c47cb78a9f47833e
parent0bcec59d94dc379b4aac615f0b826d17bdd56a12 (diff)
downloadcoreclr-28eeed3ed908db7d9f3435c25650c6620bb999dd.zip
coreclr-28eeed3ed908db7d9f3435c25650c6620bb999dd.tar.gz
coreclr-28eeed3ed908db7d9f3435c25650c6620bb999dd.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.spec12
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 9f4b27b..60c2f58 100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -218,6 +218,12 @@ 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
+ln -sf %{dotnet_version} %{buildroot}%{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.1
+ln -sf %{dotnet_version} %{buildroot}%{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.4
+
%if 0%{skipnative}
%else
cp %{_reldir}/corerun %{buildroot}%{_datadir}/%{netcoreappdir}
@@ -284,6 +290,12 @@ 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
+%dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.1
+%dir %{_datadir}/%{netshareddir}/Microsoft.NETCore.App/2.1.4
+
%files extra
%manifest %{name}.manifest
%dir %{_datadir}/%{dotnetfwdir}