|
|
6c1aaa |
%global debug_package %{nil}
|
|
|
6c1aaa |
|
|
|
6bdf31 |
%global commit 045b2888ccfaf4c203c945a09b3f41f0e6393d1c
|
|
|
6c1aaa |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
6c1aaa |
|
|
|
6c1aaa |
Name: dotnet-build-reference-packages
|
|
|
6c1aaa |
Version: 0
|
|
|
6bdf31 |
Release: 11.20211215git%{shortcommit}%{?dist}
|
|
|
6c1aaa |
Summary: Reference packages needed by the .NET Core SDK build
|
|
|
6c1aaa |
|
|
|
6c1aaa |
License: MIT
|
|
|
6c1aaa |
URL: https://github.com/dotnet/source-build-reference-packages
|
|
|
6c1aaa |
Source0: https://github.com/dotnet/source-build-reference-packages/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%if 0%{?fedora} > 32 || 0%{?rhel} > 8
|
|
|
6c1aaa |
ExclusiveArch: aarch64 x86_64
|
|
|
6c1aaa |
%else
|
|
|
6c1aaa |
ExclusiveArch: x86_64
|
|
|
6c1aaa |
%endif
|
|
|
6c1aaa |
|
|
|
6c1aaa |
BuildRequires: dotnet-sdk-3.1
|
|
|
6c1aaa |
BuildRequires: dotnet-sdk-3.1-source-built-artifacts
|
|
|
6c1aaa |
|
|
|
6c1aaa |
# The files of dotnet5.0-build-reference-packages and this package
|
|
|
6c1aaa |
# conflict. They install to the same location and cointain a shared
|
|
|
6c1aaa |
# (sub)set of files. These packages aren't really meant to be used by
|
|
|
6c1aaa |
# end-users and a single .NET build will not require both.
|
|
|
6c1aaa |
Conflicts: dotnet5.0-build-reference-packages
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%description
|
|
|
6c1aaa |
This contains references packages used for building .NET Core.
|
|
|
6c1aaa |
|
|
|
6c1aaa |
This is not meant to be used by end-users.
|
|
|
6c1aaa |
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%prep
|
|
|
6c1aaa |
%setup -q -n source-build-reference-packages-%{commit}
|
|
|
6c1aaa |
|
|
|
6c1aaa |
find -name '*.nupkg' -type f -delete
|
|
|
6c1aaa |
find -name '*.dll' -type f -delete
|
|
|
6c1aaa |
find -name '*.so' -type f -delete
|
|
|
6c1aaa |
find -name '*.tar.gz' -type f -delete
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%build
|
|
|
6c1aaa |
find -iname 'nuget.config' -exec echo {} \; -exec cat {} \;
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%{_libdir}/dotnet/dotnet --info
|
|
|
6c1aaa |
|
|
|
6c1aaa |
./build.sh \
|
|
|
6c1aaa |
--with-sdk %{_libdir}/dotnet \
|
|
|
6c1aaa |
--with-packages %{_libdir}/dotnet/source-built-artifacts/*.tar.gz
|
|
|
6c1aaa |
|
|
|
6c1aaa |
pushd artifacts/reference-packages
|
|
|
6c1aaa |
tar cvzf Private.SourceBuild.ReferencePackages.%{version}.tar.gz *.nupkg
|
|
|
6c1aaa |
popd
|
|
|
6c1aaa |
mv artifacts/reference-packages/Private.SourceBuild.ReferencePackages.%{version}.tar.gz .
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%install
|
|
|
6c1aaa |
mkdir -p %{buildroot}/%{_libdir}/dotnet
|
|
|
6c1aaa |
cp -a artifacts/reference-packages %{buildroot}/%{_libdir}/dotnet/
|
|
|
6c1aaa |
cp -a Private.SourceBuild.ReferencePackages.%{version}.tar.gz %{buildroot}/%{_libdir}/dotnet/reference-packages/
|
|
|
6c1aaa |
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%files
|
|
|
6c1aaa |
%dir %{_libdir}/dotnet/
|
|
|
6c1aaa |
%{_libdir}/dotnet/reference-packages/
|
|
|
6c1aaa |
%license LICENSE.txt
|
|
|
6c1aaa |
|
|
|
6c1aaa |
|
|
|
6c1aaa |
%changelog
|
|
|
6bdf31 |
* Wed Dec 15 2021 Omair Majid <omajid@redhat.com> - 0-11.20211215git045b288
|
|
|
6bdf31 |
- Update to upstream commit 045b288
|
|
|
6bdf31 |
- Related: RHBZ#2031429
|
|
|
6bdf31 |
|
|
|
6c1aaa |
* Wed Jun 09 2021 Omair Majid <omajid@redhat.com> - 0-10.20200608gitcd5a8c6
|
|
|
6c1aaa |
- Add Conflicts for dotnet5.0-build-reference-packages
|
|
|
6c1aaa |
- Resolves: RHBZ#1949264
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Wed May 26 2021 Omair Majid <omajid@redhat.com> - 0-9.20200608gitcd5a8c6
|
|
|
6c1aaa |
- Add gating tests
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-8.20200608gitcd5a8c6
|
|
|
6c1aaa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-7.20200608gitcd5a8c6
|
|
|
6c1aaa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Tue Jul 21 2020 Omair Majid <omajid@redhat.com> - 0-6.20200608gitcd5a8c6
|
|
|
6c1aaa |
- Update to upstream commit cd5a8c6
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Mon Jul 20 2020 Omair Majid <omajid@redhat.com> - 0-5.20200608git1b1a695
|
|
|
6c1aaa |
- Update to upstream commit 1b1a695
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Fri Jun 19 2020 Omair Majid <omajid@redhat.com> - 0-4.20200608git5aaf20d
|
|
|
6c1aaa |
- Enable building on aarch64
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Mon Jun 08 2020 Chris Rummel <crummel@microsoft.com> - 0-3.20200608git5aaf20d
|
|
|
6c1aaa |
- Updated to upstream commit 5aaf20d
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Tue Jun 02 2020 Omair Majid <omajid@redhat.com> - 0-3.20200528git6e2aee66e2aee6
|
|
|
6c1aaa |
- Updated to upstream commit 6e2aee6
|
|
|
6c1aaa |
|
|
|
6c1aaa |
* Wed Feb 19 2020 Radka Janekova <rjanekov@redhat.com> - 0-2.20200108git9cc7dad
|
|
|
6c1aaa |
- Added license reference
|
|
|
6c1aaa |
* Tue Feb 11 2020 Omair Majid <omajid@redhat.com> - 0-1.20200108git9cc7dad
|
|
|
6c1aaa |
- Initial package
|