|
|
640190 |
%global scl_name_prefix rh-
|
|
|
640190 |
%global scl_name_base dotnet
|
|
|
640190 |
%global scl_name_version 60
|
|
|
640190 |
|
|
|
640190 |
%global scl %{scl_name_prefix}%{scl_name_base}%{scl_name_version}
|
|
|
640190 |
%scl_package %scl
|
|
|
640190 |
|
|
|
640190 |
%global nfsmoutnable 1
|
|
|
640190 |
|
|
|
640190 |
# For testing this RPM by itself.
|
|
|
640190 |
%global install_scl 1
|
|
|
640190 |
|
|
|
640190 |
# Do not produce empty debuginfo package
|
|
|
640190 |
%global debug_package %{nil}
|
|
|
640190 |
|
|
|
640190 |
Name: %scl_name
|
|
|
640190 |
Version: 6.0
|
|
|
640190 |
Release: 1%{?dist}
|
|
|
640190 |
Summary: Package that installs %scl
|
|
|
640190 |
License: MIT
|
|
|
640190 |
|
|
|
640190 |
BuildRequires: scl-utils-build
|
|
|
640190 |
%if 0%{?install_scl}
|
|
|
640190 |
Requires: %{scl_prefix}dotnet
|
|
|
640190 |
%endif
|
|
|
640190 |
|
|
|
640190 |
%description
|
|
|
640190 |
This is the main package for %scl Software Collection.
|
|
|
640190 |
|
|
|
640190 |
|
|
|
640190 |
%package runtime
|
|
|
640190 |
Summary: Package that handles %scl Software Collection.
|
|
|
640190 |
Requires: scl-utils
|
|
|
640190 |
|
|
|
640190 |
%description runtime
|
|
|
640190 |
Package shipping essential scripts to work with %scl Software Collection.
|
|
|
640190 |
|
|
|
640190 |
|
|
|
640190 |
%package build
|
|
|
640190 |
Summary: Package shipping basic build configuration
|
|
|
640190 |
Requires: scl-utils-build
|
|
|
640190 |
|
|
|
640190 |
%description build
|
|
|
640190 |
Package shipping essential configuration macros to build %scl Software Collection.
|
|
|
640190 |
|
|
|
640190 |
|
|
|
640190 |
%prep
|
|
|
640190 |
%setup -c -T
|
|
|
640190 |
|
|
|
640190 |
%build
|
|
|
640190 |
# Nothing to do
|
|
|
640190 |
|
|
|
640190 |
%install
|
|
|
640190 |
%scl_install
|
|
|
640190 |
|
|
|
640190 |
cat >> %{buildroot}%{_scl_scripts}/enable << EOF
|
|
|
640190 |
export PATH="%{_bindir}:%{_sbindir}\${PATH:+:\${PATH}}\${HOME:+:\${HOME}/.dotnet/tools}"
|
|
|
640190 |
export CPATH="%{_includedir}\${CPATH:+:\${CPATH}}"
|
|
|
640190 |
export LD_LIBRARY_PATH="%{_libdir}\${LD_LIBRARY_PATH:+:\${LD_LIBRARY_PATH}}"
|
|
|
640190 |
export MANPATH="%{_mandir}:\${MANPATH:-}"
|
|
|
640190 |
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
|
|
|
640190 |
export PYTHONPATH=%{_scl_root}%{python_sitelib}\${PYTHONPATH:+:\${PYTHONPATH}}
|
|
|
640190 |
export XDG_DATA_DIRS=%{_datadir}:\${XDG_DATA_DIRS:-/usr/local/share:/usr/share}
|
|
|
640190 |
|
|
|
640190 |
# Set DOTNET_ROOT to fix apphost lookup
|
|
|
640190 |
export DOTNET_ROOT="%{_libdir}/dotnet"
|
|
|
640190 |
|
|
|
640190 |
EOF
|
|
|
640190 |
|
|
|
640190 |
|
|
|
640190 |
%files
|
|
|
640190 |
|
|
|
640190 |
%files runtime -f filelist
|
|
|
640190 |
%scl_files
|
|
|
640190 |
|
|
|
640190 |
%files build
|
|
|
640190 |
%{_root_sysconfdir}/rpm/macros.%{scl}-config
|
|
|
640190 |
|
|
|
640190 |
|
|
|
640190 |
%changelog
|
|
|
640190 |
* Thu Oct 21 2021 Omair Majid <omajid@redhat.com> - 6.0-1
|
|
|
640190 |
- Initial port to .NET 6
|
|
|
640190 |
- Related: RHBZ#2016419
|
|
|
640190 |
|
|
|
640190 |
* Tue Dec 01 2020 Omair Majid <omajid@redhat.com> - 5.0-2
|
|
|
640190 |
- Rely on the .NET build itself to have disabled telemetry by default
|
|
|
640190 |
- Resolves: RHBZ#1879711
|
|
|
640190 |
|
|
|
640190 |
* Tue Dec 01 2020 Omair Majid <omajid@redhat.com> - 5.0-2
|
|
|
640190 |
- Rely on the .NET build itself to have disabled telemetry by default
|
|
|
640190 |
- Resolves: RHBZ#1879711
|
|
|
640190 |
|
|
|
640190 |
* Fri Sep 18 2020 Omair Majid <omajid@redhat.com> - 5.0-1
|
|
|
640190 |
- Update for .NET 5.0
|
|
|
640190 |
- Resolves: RHBZ#1879711
|
|
|
640190 |
|
|
|
640190 |
* Sun Dec 1 2019 Omair Majid <omajid@redhat.com> - 3.1-3
|
|
|
640190 |
- Fix escaping in DOTNET_BUNDLE_EXTRACT_BASE_DIR
|
|
|
640190 |
- Resolves: RHBZ#1767056
|
|
|
640190 |
|
|
|
640190 |
* Sun Dec 1 2019 Omair Majid <omajid@redhat.com> - 3.1-2
|
|
|
640190 |
- Set DOTNET_BUNDLE_EXTRACT_BASE_DIR
|
|
|
640190 |
- Resolves: RHBZ#1767056
|
|
|
640190 |
|
|
|
640190 |
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 3.1-1
|
|
|
640190 |
- New spec file based on .NET Core 3.0
|
|
|
640190 |
- Resolves: RHBZ#1767056
|