X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fcsapi-tizenfx.spec;h=2875c267dc1ca1fe0d68f9dcfc04a1f549dba583;hb=cd28909b9aa128ad82f3273438c3447555d6508f;hp=1ff560606f20eacbfccd7d08549cc294f0d6c736;hpb=2c9512df07fb3980ff2ce0aeb5dcfc9da33b78b3;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/packaging/csapi-tizenfx.spec b/packaging/csapi-tizenfx.spec index 1ff5606..2875c26 100644 --- a/packaging/csapi-tizenfx.spec +++ b/packaging/csapi-tizenfx.spec @@ -1,8 +1,8 @@ # Auto-generated from csapi-tizenfx.spec.in by makespec.sh %define TIZEN_NET_API_VERSION 8 -%define TIZEN_NET_RPM_VERSION 8.0.0.15596+nui21930 -%define TIZEN_NET_NUGET_VERSION 8.0.0.15596 +%define TIZEN_NET_RPM_VERSION 8.0.0.15726+nui21932 +%define TIZEN_NET_NUGET_VERSION 8.0.0.15726 %define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework %define DOTNET_ASSEMBLY_DUMMY_PATH %{DOTNET_ASSEMBLY_PATH}/ref @@ -14,6 +14,8 @@ %define TIZEN_NET_RUNTIME_IDENTIFIERS 4.0.0:5.0.0:5.5.0:6.0.0 %define TIZEN_NET_TARGET_FRAMEWORK_MONIKERS tizen80:tizen70:tizen60:tizen50:tizen40:netstandard2.0 +%define UPGRADE_SCRIPT_PATH /usr/share/upgrade/scripts + Name: csapi-tizenfx Summary: Assemblies of Tizen .NET Version: %{TIZEN_NET_RPM_VERSION} @@ -201,12 +203,16 @@ install -p -m 644 Artifacts/preload/*.preload %{buildroot}%{DOTNET_PRELOAD_PATH} # Install NuGet Packages install -p -m 644 Artifacts/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE} -install -p -m 644 packaging/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE} +install -p -m 644 packaging/depends/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE} # Install Tools install -p -m 644 tools/bin/* %{buildroot}%{DOTNET_TOOLS_PATH} +# Install Upgrade Script +mkdir -p %{buildroot}%{UPGRADE_SCRIPT_PATH} +install -p -m 755 packaging/500.tizenfx_upgrade.sh %{buildroot}%{UPGRADE_SCRIPT_PATH} + %post /usr/bin/vconftool set -t int db/dotnet/tizen_api_version %{TIZEN_NET_API_VERSION} -f /usr/bin/vconftool set -t string db/dotnet/tizen_api_path %{DOTNET_ASSEMBLY_PATH} -f @@ -216,6 +222,7 @@ install -p -m 644 tools/bin/* %{buildroot}%{DOTNET_TOOLS_PATH} %files %license LICENSE %license LICENSE.MIT +%attr(0755,root,root) %{UPGRADE_SCRIPT_PATH}/500.tizenfx_upgrade.sh %files nuget %{DOTNET_NUGET_SOURCE}/*.nupkg