From f3ffd17cb868f9af2f2cc2d6ab9dc0692e13aef8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 13 2016 11:27:46 +0000 Subject: import rh-dotnetcore10-dotnetcore-1.0.0-7.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..41a17ff --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dotnet-dev-rhel-x64.1.0.0-preview2-003121.tar.gz diff --git a/.rh-dotnetcore10-dotnetcore.metadata b/.rh-dotnetcore10-dotnetcore.metadata new file mode 100644 index 0000000..28d9390 --- /dev/null +++ b/.rh-dotnetcore10-dotnetcore.metadata @@ -0,0 +1 @@ +4a55d0c27b638a3beaa91e95db1a4a374382aa17 SOURCES/dotnet-dev-rhel-x64.1.0.0-preview2-003121.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/dotnetcore.spec b/SPECS/dotnetcore.spec new file mode 100644 index 0000000..e82c79b --- /dev/null +++ b/SPECS/dotnetcore.spec @@ -0,0 +1,141 @@ +%{?scl:%scl_package dotnetcore} +%{!?scl:%global pkg_name %{name}} + +# there are no build id notes in these binaries +# dont abort finding-debuginfo because of that +%undefine _missing_build_ids_terminate_build + +%global cli_version 1.0.0-preview2-003121 +%global runtime_version 1.0.0 + +# Do not provide internal .so as standard libraries +%global __provides_exclude_from ^(%{_libdir}/dotnetcore/.*\\.so|%{_libdir}/dotnetcore/sdk/%{cli_version}/.*\\.so|%{_libdir}/dotnetcore/shared/Microsoft.NETCore.App/%{runtime_version}/.*)$ + +# Do not scan some files for which we have no dependencies +%global __requires_exclude_from ^(%{_libdir}/dotnetcore/shared/Microsoft.NETCore.App/%{runtime_version}/libcoreclrtraceptprovider.so|%{_libdir}/dotnetcore/shared/Microsoft.NETCore.App/%{runtime_version}/libsosplugin.so)$ + +# Do not generate requires for libraries provided by this own package +%global __requires_exclude ^(libmscordaccore.so\\(\\)\\(64bit\\)|libmscordaccore.so\\(V1.0\\)\\(64bit\\))$ + +Name: %{?scl_prefix}dotnetcore +Version: 1.0.0 +Release: 7%{?dist} +Summary: .NET Core 1.0 + +Group: Development/Languages +License: Apache 2.0 +URL: http://www.microsoft.com/net + +# Original builds available from: +# Source0: https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/%%{cli_version}/dotnet-dev-rhel-x64.%%{cli_version}.tar.gz + +# Built on a developer's laptop, from source +Source0: dotnet-dev-rhel-x64.%{cli_version}.tar.gz + +Requires: %{?scl_prefix}libcurl%{?_isa} +Requires: %{?scl_prefix}libuv%{?_isa} + +%{?scl:Requires: %scl_runtime} + +%description +.NET Core Framework 1.0 and .NET Core Runtime 1.0 + +%prep +%setup -q -c -n %{pkg_name}-%{version} + +%build +# Nothing to build; this is already a binary in a tarball + +# Remove things with dependencies that are not ready yet + +# Requires lttng +# find -iname libcoreclrtraceptprovider.so -delete +# Requires lldb +# find -iname libsosplugin.so -delete + +# Replace libuv with our own version. Note, there's also another copy of this +# same libuv, bundled, in the nuget package archive. +rm shared/Microsoft.NETCore.App/%{runtime_version}/libuv.so +ln -s %{_libdir}/libuv.so.1 shared/Microsoft.NETCore.App/%{runtime_version}/libuv.so + +%install +install -dm 755 $RPM_BUILD_ROOT/%{_libdir}/%{pkg_name}/ +cp -a dotnet sdk host shared $RPM_BUILD_ROOT/%{_libdir}/%{pkg_name}/ + +mkdir -p $RPM_BUILD_ROOT/%{_bindir} +ln -s %{_libdir}/%{pkg_name}/dotnet $RPM_BUILD_ROOT/%{_bindir}/ + +%files +%doc ThirdPartyNotices.txt +%{_libdir}/%{pkg_name} +%{_bindir}/* + +%changelog +* Wed Jun 22 2016 Omair Majid - 1.0.0-7 +- Update to newer build. +- Fixes https://github.com/NuGet/Home/issues/3010 + +* Mon Jun 20 2016 Severin Gehwolf - 1.0.0-6 +- Reinstate libuv runtime requirement. + +* Fri Jun 17 2016 Omair Majid - 1.0.0-5 +- Update with new build. This one includes a libuv built from source. + +* Fri Jun 17 2016 Omair Majid - 1.0.0-4 +- Update source. +- Fix filtering of provides and requires +- Don't use the scl-wide libuv.so. There's a bundled copy included. + +* Fri Jun 17 2016 Omair Majid - 1.0.0-3 +- Update requires filtering for self-provided library + +* Fri Jun 17 2016 Omair Majid - 1.0.0-2 +- Update requires filtering for self-provided library + +* Thu Jun 16 2016 Omair Majid - 1.0.0-1 +- First build of .NET Core 1.0 + +* Fri May 27 2016 Omair Majid - 1.0.0-0.9.rc2 +- Don't generate requires for self-provided library + +* Fri May 27 2016 Omair Majid - 1.0.0-0.8.rc2 +- Do not rpm-provide internal implementation libraries + +* Tue May 17 2016 Omair Majid - 1.0.0-0.7.rc2 +- Strip binaries and produce debug packages + +* Mon May 16 2016 Omair Majid - 1.0.0-0.6.preview1 +- Build using new upstream tarball with fixed LICENSE. + +* Mon May 16 2016 Omair Majid - 1.0.0-0.5.preview1 +- Include license file + +* Thu May 12 2016 Omair Majid - 1.0.0-0.4.preview1 +- Update to latest preview build + +* Wed May 11 2016 Omair Majid - 1.0.0-0.3.preview1 +- Update to latest build + +* Thu Apr 28 2016 Omair Majid - 1.0.0-0.2.20160428 +- Update to the latest nightly build + +* Thu Apr 21 2016 Omair Majid - 1.0.0-0.2.20160421 +- Update to latest nightly build + +* Wed Apr 20 2016 Omair Majid - 1.0.0-0.2.20160407 +- Explicitly require customized libcurl + +* Mon Apr 18 2016 Omair Majid - 1.0.0-0.1.20160407 +- Rename package + +* Thu Apr 07 2016 Omair Majid - 1.0.0-0.1.20160407 +- Update to latest nightly + +* Wed Apr 06 2016 Omair Majid - 1.0.0-0.1.20160406 +- Update to latest nightly + +* Mon Apr 04 2016 Omair Majid - 1.0.0-0.1.20160404 +- Update to newer drop + +* Fri Mar 11 2016 Omair Majid - 1.0.0-0.1.20160229 +- Initial package