|
|
f3ffd1 |
%{?scl:%scl_package dotnetcore}
|
|
|
f3ffd1 |
%{!?scl:%global pkg_name %{name}}
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
# there are no build id notes in these binaries
|
|
|
f3ffd1 |
# dont abort finding-debuginfo because of that
|
|
|
f3ffd1 |
%undefine _missing_build_ids_terminate_build
|
|
|
f3ffd1 |
|
|
|
03f6f2 |
# lldb doesn't like our nice debug information
|
|
|
03f6f2 |
%undefine _include_minidebuginfo
|
|
|
03f6f2 |
%global _find_debuginfo_dwz_opts %{nil}
|
|
|
03f6f2 |
|
|
|
c30f66 |
%global cli_version 1.0.0-preview2-003380
|
|
|
c30f66 |
%global runtime_version 1.0.16
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
# Do not provide internal .so as standard libraries
|
|
|
f3ffd1 |
%global __provides_exclude_from ^(%{_libdir}/dotnetcore/.*\\.so|%{_libdir}/dotnetcore/sdk/%{cli_version}/.*\\.so|%{_libdir}/dotnetcore/shared/Microsoft.NETCore.App/%{runtime_version}/.*)$
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
# Do not scan some files for which we have no dependencies
|
|
|
f3ffd1 |
%global __requires_exclude_from ^(%{_libdir}/dotnetcore/shared/Microsoft.NETCore.App/%{runtime_version}/libcoreclrtraceptprovider.so|%{_libdir}/dotnetcore/shared/Microsoft.NETCore.App/%{runtime_version}/libsosplugin.so)$
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
# Do not generate requires for libraries provided by this own package
|
|
|
f3ffd1 |
%global __requires_exclude ^(libmscordaccore.so\\(\\)\\(64bit\\)|libmscordaccore.so\\(V1.0\\)\\(64bit\\))$
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
Name: %{?scl_prefix}dotnetcore
|
|
|
0f4a43 |
Version: %{runtime_version}
|
|
|
a9cdae |
Release: 1%{?dist}
|
|
|
f3ffd1 |
Summary: .NET Core 1.0
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
Group: Development/Languages
|
|
|
9c788e |
License: ASL 2.0 and MIT
|
|
|
f3ffd1 |
URL: http://www.microsoft.com/net
|
|
|
f3ffd1 |
|
|
|
a8110a |
Source0: cli-%{cli_version}.tar.gz
|
|
|
a8110a |
|
|
|
f3ffd1 |
# Built on a developer's laptop, from source
|
|
|
a8110a |
Source1: dotnet-dev-rhel-x64.%{cli_version}.tar.gz
|
|
|
a8110a |
Source2: manpages.%{cli_version}.tar.gz
|
|
|
a8110a |
Source3: https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2/LICENSE
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
Requires: %{?scl_prefix}libcurl%{?_isa}
|
|
|
03f6f2 |
Requires: %{?scl_prefix}libuv%{?_isa}
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
%{?scl:Requires: %scl_runtime}
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
%description
|
|
|
f3ffd1 |
.NET Core Framework 1.0 and .NET Core Runtime 1.0
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
%prep
|
|
|
a8110a |
%setup -T -q -c -b 1 -n %{pkg_name}-%{version}
|
|
|
a8110a |
tar xvf %{SOURCE2}
|
|
|
f3ffd1 |
|
|
|
9c788e |
# Upstream build produces a bogus LICENSE
|
|
|
9c788e |
# https://github.com/dotnet/core-setup/issues/676
|
|
|
9c788e |
rm LICENSE.txt
|
|
|
a8110a |
cp %{SOURCE3} LICENSE
|
|
|
9c788e |
|
|
|
f3ffd1 |
%build
|
|
|
9c788e |
|
|
|
f3ffd1 |
# Nothing to build; this is already a binary in a tarball
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
# Remove things with dependencies that are not ready yet
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
# Requires lttng
|
|
|
f3ffd1 |
# find -iname libcoreclrtraceptprovider.so -delete
|
|
|
f3ffd1 |
# Requires lldb
|
|
|
f3ffd1 |
# find -iname libsosplugin.so -delete
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
# Replace libuv with our own version. Note, there's also another copy of this
|
|
|
f3ffd1 |
# same libuv, bundled, in the nuget package archive.
|
|
|
f3ffd1 |
rm shared/Microsoft.NETCore.App/%{runtime_version}/libuv.so
|
|
|
f3ffd1 |
ln -s %{_libdir}/libuv.so.1 shared/Microsoft.NETCore.App/%{runtime_version}/libuv.so
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
%install
|
|
|
f3ffd1 |
install -dm 755 $RPM_BUILD_ROOT/%{_libdir}/%{pkg_name}/
|
|
|
f3ffd1 |
cp -a dotnet sdk host shared $RPM_BUILD_ROOT/%{_libdir}/%{pkg_name}/
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
|
f3ffd1 |
ln -s %{_libdir}/%{pkg_name}/dotnet $RPM_BUILD_ROOT/%{_bindir}/
|
|
|
f3ffd1 |
|
|
|
03f6f2 |
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
|
|
|
03f6f2 |
find -type f -iname 'dotnet*\.1' -exec cp {} $RPM_BUILD_ROOT/%{_mandir}/man1/ \;
|
|
|
03f6f2 |
|
|
|
f3ffd1 |
%files
|
|
|
9c788e |
%doc LICENSE
|
|
|
f3ffd1 |
%doc ThirdPartyNotices.txt
|
|
|
f3ffd1 |
%{_libdir}/%{pkg_name}
|
|
|
f3ffd1 |
%{_bindir}/*
|
|
|
03f6f2 |
%{_mandir}/man1/dotnet*.1*
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
%changelog
|
|
|
c30f66 |
* Mon Apr 29 2019 Omair Majid <omajid@redhat.com> - 1.0.16-1
|
|
|
c30f66 |
- Update to .NET Core 1.0.16
|
|
|
c30f66 |
- Resolves: RHBZ#1704454
|
|
|
c30f66 |
|
|
|
14040c |
* Fri Mar 08 2019 Omair Majid <omajid@redhat.com> - 1.0.15-1
|
|
|
14040c |
- Update to .NET Core 1.0.15
|
|
|
14040c |
- Resolves: RHBZ#1686640
|
|
|
14040c |
|
|
|
14040c |
* Fri Jan 25 2019 Omair Majid <omajid@redhat.com> - 1.0.14-1
|
|
|
14040c |
- Update to .NET Core 1.0.14
|
|
|
14040c |
- Resolves: RHBZ#1669668
|
|
|
14040c |
|
|
|
934c05 |
* Thu Sep 27 2018 Omair Majid <omajid@redhat.com> - 1.0.13-1
|
|
|
934c05 |
- Update to .NET Core 1.0.13
|
|
|
934c05 |
- Resolves: rhbz#1633864
|
|
|
934c05 |
|
|
|
e8fc26 |
* Thu Jun 28 2018 Omair Majid <omajid@redhat.com> - 1.0.12-1
|
|
|
e8fc26 |
- Update to .NET Core 1.0.12
|
|
|
e8fc26 |
|
|
|
0f4a43 |
* Thu Apr 05 2018 Omair Majid <omajid@redhat.com> - 1.0.11-1
|
|
|
0f4a43 |
- Update to .NET Core 1.0.11
|
|
|
0f4a43 |
|
|
|
69f549 |
* Mon Mar 05 2018 Omair Majid <omajid@redhat.com> - 1.0.10-1
|
|
|
69f549 |
- Update to .NET Core 1.0.10
|
|
|
69f549 |
|
|
|
075b14 |
* Thu Jan 04 2018 Andrew Slice <andrew.slice@redhat.com> - 1.0.9-1
|
|
|
075b14 |
- Update to .NET Core 1.0.9
|
|
|
075b14 |
|
|
|
a9cdae |
* Thu Oct 26 2017 Omair Majid <omajid@redhat.com> - 1.0.8-1
|
|
|
a9cdae |
- Update to .NET Core 1.0.8
|
|
|
a9cdae |
|
|
|
a8110a |
* Tue Sep 26 2017 Omair Majid <omajid@redhat.com> - 1.0.7-2
|
|
|
a8110a |
- Add source tarball as source0
|
|
|
a8110a |
|
|
|
a8110a |
* Mon Sep 25 2017 Omair Majid <omajid@redhat.com> - 1.0.7-1
|
|
|
a8110a |
- Update to .NET Core 1.0.7
|
|
|
a8110a |
|
|
|
42be89 |
* Mon Apr 24 2017 Omair Majid <omajid@redhat.com> - 1.0.5-1
|
|
|
42be89 |
- Update to .NET Core 1.0.5
|
|
|
42be89 |
|
|
|
639284 |
* Tue Mar 07 2017 Omair Majid <omajid@redhat.com> - 1.0.4-1
|
|
|
639284 |
- Update to 1.0.4
|
|
|
639284 |
- Does not contain the project.json -> csproj changes.
|
|
|
639284 |
|
|
|
9c788e |
* Tue Dec 06 2016 Omair Majid <omajid@redhat.com> - 1.0.3-3
|
|
|
9c788e |
- Update to latest build
|
|
|
9c788e |
|
|
|
9c788e |
* Mon Dec 05 2016 Omair Majid <omajid@redhat.com> - 1.0.3-2
|
|
|
9c788e |
- Remove .cs files from nuget archive
|
|
|
9c788e |
- Resolves: RHBZ 1384151
|
|
|
9c788e |
|
|
|
9c788e |
* Sat Nov 26 2016 Omair Majid <omajid@redhat.com> - 1.0.3-1
|
|
|
9c788e |
- Update to 1.0.3
|
|
|
9c788e |
|
|
|
03f6f2 |
* Tue Sep 20 2016 Omair Majid <omajid@redhat.com> - 1.0.1-2
|
|
|
03f6f2 |
- Add man pages
|
|
|
03f6f2 |
|
|
|
03f6f2 |
* Mon Sep 19 2016 Omair Majid <omajid@redhat.com> - 1.0.1-1
|
|
|
03f6f2 |
- Update to 1.0.1
|
|
|
03f6f2 |
- Resolves: RHBZ 1361254
|
|
|
03f6f2 |
- Resolves: RHBZ 1372033
|
|
|
03f6f2 |
|
|
|
f3ffd1 |
* Wed Jun 22 2016 Omair Majid <omajid@redhat.com> - 1.0.0-7
|
|
|
f3ffd1 |
- Update to newer build.
|
|
|
f3ffd1 |
- Fixes https://github.com/NuGet/Home/issues/3010
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Mon Jun 20 2016 Severin Gehwolf <sgehwolf@redhat.com> - 1.0.0-6
|
|
|
f3ffd1 |
- Reinstate libuv runtime requirement.
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Fri Jun 17 2016 Omair Majid <omajid@redhat.com> - 1.0.0-5
|
|
|
f3ffd1 |
- Update with new build. This one includes a libuv built from source.
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Fri Jun 17 2016 Omair Majid <omajid@redhat.com> - 1.0.0-4
|
|
|
f3ffd1 |
- Update source.
|
|
|
f3ffd1 |
- Fix filtering of provides and requires
|
|
|
f3ffd1 |
- Don't use the scl-wide libuv.so. There's a bundled copy included.
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Fri Jun 17 2016 Omair Majid <omajid@redhat.com> - 1.0.0-3
|
|
|
f3ffd1 |
- Update requires filtering for self-provided library
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Fri Jun 17 2016 Omair Majid <omajid@redhat.com> - 1.0.0-2
|
|
|
f3ffd1 |
- Update requires filtering for self-provided library
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Thu Jun 16 2016 Omair Majid <omajid@redhat.com> - 1.0.0-1
|
|
|
f3ffd1 |
- First build of .NET Core 1.0
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Fri May 27 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.9.rc2
|
|
|
f3ffd1 |
- Don't generate requires for self-provided library
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Fri May 27 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.8.rc2
|
|
|
f3ffd1 |
- Do not rpm-provide internal implementation libraries
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Tue May 17 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.7.rc2
|
|
|
f3ffd1 |
- Strip binaries and produce debug packages
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Mon May 16 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.6.preview1
|
|
|
f3ffd1 |
- Build using new upstream tarball with fixed LICENSE.
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Mon May 16 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.5.preview1
|
|
|
f3ffd1 |
- Include license file
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Thu May 12 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.4.preview1
|
|
|
f3ffd1 |
- Update to latest preview build
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Wed May 11 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.3.preview1
|
|
|
f3ffd1 |
- Update to latest build
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Thu Apr 28 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.2.20160428
|
|
|
f3ffd1 |
- Update to the latest nightly build
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Thu Apr 21 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.2.20160421
|
|
|
f3ffd1 |
- Update to latest nightly build
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Wed Apr 20 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.2.20160407
|
|
|
f3ffd1 |
- Explicitly require customized libcurl
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Mon Apr 18 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.1.20160407
|
|
|
f3ffd1 |
- Rename package
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Thu Apr 07 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.1.20160407
|
|
|
f3ffd1 |
- Update to latest nightly
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Wed Apr 06 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.1.20160406
|
|
|
f3ffd1 |
- Update to latest nightly
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Mon Apr 04 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.1.20160404
|
|
|
f3ffd1 |
- Update to newer drop
|
|
|
f3ffd1 |
|
|
|
f3ffd1 |
* Fri Mar 11 2016 Omair Majid <omajid@redhat.com> - 1.0.0-0.1.20160229
|
|
|
f3ffd1 |
- Initial package
|