Change-Id: I7eb27893660c1e766445bfd62c10fe52ac22b7af
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6324
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
| ... | ... |
@@ -1,25 +1,15 @@ |
| 1 | 1 |
Summary: Microsoft .NET Core Runtime |
| 2 | 2 |
Name: dotnet-runtime |
| 3 |
-Version: 2.1.4 |
|
| 3 |
+Version: 2.2.0 |
|
| 4 | 4 |
Release: 1%{?dist}
|
| 5 | 5 |
Vendor: VMware, Inc. |
| 6 | 6 |
Distribution: Photon |
| 7 | 7 |
License: MIT |
| 8 | 8 |
Url: https://github.com/dotnet/core |
| 9 | 9 |
Group: Development/Tools |
| 10 |
- |
|
| 11 |
-%ifarch x86_64 |
|
| 12 |
-Source0: https://download.microsoft.com/download/A/7/8/A78F1D25-8D5C-4411-B544-C7D527296D5E/dotnet-runtime-2.1.4-linux-x64.tar.gz |
|
| 13 |
-%define sha1 dotnet-runtime=f92a51b5e15e0d9f48bde76519de911bd86880a0 |
|
| 14 | 10 |
BuildArch: x86_64 |
| 15 |
-%endif |
|
| 16 |
- |
|
| 17 |
-%ifarch aarch64 |
|
| 18 |
-Source0: https://download.microsoft.com/download/A/7/8/A78F1D25-8D5C-4411-B544-C7D527296D5E/dotnet-runtime-2.1.4-linux-arm64.tar.gz |
|
| 19 |
-%define sha1 dotnet-runtime=0470e1ed3ab4cb3e3321f6dd11f9dc7abac171d6 |
|
| 20 |
-BuildArch: aarch64 |
|
| 21 |
-%endif |
|
| 22 |
- |
|
| 11 |
+Source0: https://download.microsoft.com/download/A/7/8/A78F1D25-8D5C-4411-B544-C7D527296D5E/dotnet-runtime-2.2.0-linux-x64.tar.gz |
|
| 12 |
+%define sha1 dotnet-runtime=7f9815101143463f2d244fa15c51cc9098328920 |
|
| 23 | 13 |
Requires: curl libunwind krb5 lttng-ust |
| 24 | 14 |
|
| 25 | 15 |
%description |
| ... | ... |
@@ -76,6 +66,8 @@ ln -sf %{_libdir}/dotnet/dotnet %{buildroot}%{_bindir}/dotnet
|
| 76 | 76 |
%{_libdir}/*
|
| 77 | 77 |
|
| 78 | 78 |
%changelog |
| 79 |
+* Wed Dec 05 2018 Ajay Kaher <akaher@vmware.com> 2.2.0-1 |
|
| 80 |
+- upgraded to version 2.2.0 |
|
| 79 | 81 |
* Thu Sep 27 2018 Ajay Kaher <akaher@vmware.com> 2.1.4-1 |
| 80 | 82 |
- upgraded to version 2.1.4 |
| 81 | 83 |
- add aarch64 support |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%define debug_package %{nil}
|
| 2 | 2 |
Summary: Microsoft .NET Core SDK |
| 3 | 3 |
Name: dotnet-sdk |
| 4 |
-Version: 2.1.4 |
|
| 4 |
+Version: 2.1.403 |
|
| 5 | 5 |
Release: 1%{?dist}
|
| 6 | 6 |
Vendor: VMware, Inc. |
| 7 | 7 |
Distribution: Photon |
| 8 | 8 |
License: MIT |
| 9 | 9 |
Url: https://github.com/dotnet/core |
| 10 | 10 |
Group: Development/Tools |
| 11 |
-Source0: https://download.microsoft.com/download/1/1/5/115B762D-2B41-4AF3-9A63-92D9680B9409/dotnet-sdk-2.1.4-linux-x64.tar.gz |
|
| 12 |
-%define sha1 dotnet-sdk=0201b2f073dea70abfc00383f8093f8dafa802ea |
|
| 11 |
+Source0: https://download.microsoft.com/download/1/1/5/115B762D-2B41-4AF3-9A63-92D9680B9409/dotnet-sdk-2.1.403-linux-x64.tar.gz |
|
| 12 |
+%define sha1 dotnet-sdk=0a72a76e833f20da90a052f634d6711ef62d0526 |
|
| 13 | 13 |
BuildArch: x86_64 |
| 14 | 14 |
Requires: dotnet-runtime icu |
| 15 | 15 |
|
| ... | ... |
@@ -34,5 +34,7 @@ cp LICENSE.txt ThirdPartyNotices.txt %{buildroot}%{_docdir}/dotnet-sdk-%{version
|
| 34 | 34 |
%{_docdir}/*
|
| 35 | 35 |
|
| 36 | 36 |
%changelog |
| 37 |
+* Wed Dec 05 2018 Ajay Kaher <akaher@vmware.com> 2.1.403-1 |
|
| 38 |
+- upgraded to version 2.1.403 |
|
| 37 | 39 |
* Wed Jan 31 2018 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.4-1 |
| 38 | 40 |
- Initial build for photon |
| ... | ... |
@@ -13,16 +13,17 @@ dotnet run |
| 13 | 13 |
popd |
| 14 | 14 |
|
| 15 | 15 |
pushd src |
| 16 |
+ |
|
| 16 | 17 |
targetFile="Microsoft.PowerShell.SDK/obj/Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets" |
| 17 | 18 |
cat > $targetFile <<-"EOF" |
| 18 | 19 |
<Project> |
| 19 |
- <Target Name="_GetDependencies" |
|
| 20 |
- DependsOnTargets="ResolveAssemblyReferencesDesignTime"> |
|
| 21 |
- <ItemGroup> |
|
| 22 |
- <_RefAssemblyPath Include="%(_ReferencesFromRAR.ResolvedPath)%3B" Condition=" '%(_ReferencesFromRAR.Type)' == 'assembly' And '%(_ReferencesFromRAR.PackageName)' != 'Microsoft.Management.Infrastructure' " /> |
|
| 23 |
- </ItemGroup> |
|
| 24 |
- <WriteLinesToFile File="$(_DependencyFile)" Lines="@(_RefAssemblyPath)" Overwrite="true" /> |
|
| 25 |
- </Target> |
|
| 20 |
+ <Target Name="_GetDependencies" |
|
| 21 |
+ DependsOnTargets="ResolveAssemblyReferencesDesignTime"> |
|
| 22 |
+ <ItemGroup> |
|
| 23 |
+ <_RefAssemblyPath Include="%(_ReferencesFromRAR.HintPath)%3B" Condition=" '%(_ReferencesFromRAR.NuGetPackageId)' != 'Microsoft.Management.Infrastructure' "/> |
|
| 24 |
+ </ItemGroup> |
|
| 25 |
+ <WriteLinesToFile File="$(_DependencyFile)" Lines="@(_RefAssemblyPath)" Overwrite="true" /> |
|
| 26 |
+ </Target> |
|
| 26 | 27 |
</Project> |
| 27 | 28 |
EOF |
| 28 | 29 |
dotnet msbuild Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj /t:_GetDependencies "/property:DesignTimeBuild=true;_DependencyFile=$(pwd)/TypeCatalogGen/powershell.inc" /nologo |
| ... | ... |
@@ -41,4 +42,7 @@ popd |
| 41 | 41 |
|
| 42 | 42 |
# |
| 43 | 43 |
touch DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY |
| 44 |
-dotnet publish /property:GenerateFullPaths=true --configuration Linux --framework netcoreapp2.0 --runtime linux-x64 src/powershell-unix --output bin |
|
| 44 |
+dotnet publish /property:GenerateFullPaths=true --configuration Linux --framework netcoreapp2.1 --runtime linux-x64 src/powershell-unix --output bin |
|
| 45 |
+ |
|
| 46 |
+# Even after powershell rpm built, dotnet processes are alive, following to kill them: |
|
| 47 |
+killall -15 dotnet |
| ... | ... |
@@ -1,18 +1,19 @@ |
| 1 | 1 |
Summary: PowerShell is an automation and configuration management platform. |
| 2 | 2 |
Name: powershell |
| 3 |
-Version: 6.0.1 |
|
| 4 |
-Release: 2%{?dist}
|
|
| 3 |
+Version: 6.1.1 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 | 5 |
Vendor: VMware, Inc. |
| 6 | 6 |
Distribution: Photon |
| 7 | 7 |
License: MIT |
| 8 | 8 |
Url: https://microsoft.com/powershell |
| 9 | 9 |
Group: shells |
| 10 | 10 |
Source0: %{name}-%{version}.tar.gz
|
| 11 |
-%define sha1 powershell=2aac40c972f45d1abb3a8b3a4d8a87fcbe91b889 |
|
| 11 |
+%define sha1 powershell=03abf8fa557974e5e765743bad870ab03e301e5b |
|
| 12 | 12 |
Source1: build.sh |
| 13 | 13 |
BuildArch: x86_64 |
| 14 |
-BuildRequires: dotnet-sdk = 2.1.4 |
|
| 15 |
-BuildRequires: dotnet-runtime = 2.1.4 |
|
| 14 |
+BuildRequires: dotnet-sdk = 2.1.403 |
|
| 15 |
+BuildRequires: dotnet-runtime = 2.2.0 |
|
| 16 |
+BuildRequires: psmisc |
|
| 16 | 17 |
BuildRequires: cmake |
| 17 | 18 |
BuildRequires: clang |
| 18 | 19 |
BuildRequires: git |
| ... | ... |
@@ -24,8 +25,8 @@ PowerShell is an automation and configuration management platform. |
| 24 | 24 |
It consists of a cross-platform command-line shell and associated scripting language. |
| 25 | 25 |
|
| 26 | 26 |
%prep |
| 27 |
-%setup -qn PowerShell |
|
| 28 |
-sed -i 's/2.0.2/2.1.4/' global.json |
|
| 27 |
+%setup -qn PowerShell-%{version}
|
|
| 28 |
+# sed -i 's/2.1.403/2.1.4/' global.json |
|
| 29 | 29 |
|
| 30 | 30 |
%build |
| 31 | 31 |
cp %{SOURCE1} .
|
| ... | ... |
@@ -36,7 +37,8 @@ chmod +x ./build.sh |
| 36 | 36 |
rm -rf src/powershell-unix/bin/{Debug, Linux}
|
| 37 | 37 |
mkdir -p %{buildroot}%{_libdir}/powershell
|
| 38 | 38 |
mkdir -p %{buildroot}%{_docdir}/powershell
|
| 39 |
-mv src/powershell-unix/bin/license_thirdparty_proprietary.txt %{buildroot}%{_docdir}/powershell
|
|
| 39 |
+mv src/powershell-unix/bin/ThirdPartyNotices.txt %{buildroot}%{_docdir}/powershell
|
|
| 40 |
+mv src/powershell-unix/bin/LICENSE.txt %{buildroot}%{_docdir}/powershell
|
|
| 40 | 41 |
cp -r src/powershell-unix/bin/* %{buildroot}/%{_libdir}/powershell
|
| 41 | 42 |
mkdir -p %{buildroot}%{_bindir}
|
| 42 | 43 |
ln -sf %{_libdir}/powershell/pwsh %{buildroot}%{_bindir}/pwsh
|
| ... | ... |
@@ -50,6 +52,8 @@ ln -sf %{_libdir}/powershell/pwsh %{buildroot}%{_bindir}/pwsh
|
| 50 | 50 |
%{_docdir}/*
|
| 51 | 51 |
|
| 52 | 52 |
%changelog |
| 53 |
+* Wed Dec 05 2018 Ajay Kaher <akaher@vmware.com> 6.1.1-1 |
|
| 54 |
+- upgrade version to 6.1.1 |
|
| 53 | 55 |
* Thu Sep 27 2018 Ajay Kaher <akaher@vmware.com> 6.0.1-2 |
| 54 | 56 |
- upgrade version of dotnet-runtime |
| 55 | 57 |
* Wed Jan 31 2018 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 6.0.1-1 |