summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunghyuk.park <junghyuk.park@samsung.com>2018-07-13 08:19:24 +0900
committerjunghyuk.park <junghyuk.park@samsung.com>2018-07-13 08:19:24 +0900
commitee40fb7a4ec3659776a2ccf98b6eb3d181f986c7 (patch)
tree7149f0754559f7d2e261b0bb3ca0dc198c6c9226
parentd01a20713e91e5c15b60da48ba63364ca497da89 (diff)
downloadcoreclr-accepted/tizen/base/20180713.194704.tar.gz
coreclr-accepted/tizen/base/20180713.194704.tar.bz2
coreclr-accepted/tizen/base/20180713.194704.zip
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 38cfc14d4d..abd815bee2 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}