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