Blame SPECS/rh-dotnet21.spec

645253
%global scl_name_prefix rh-
645253
%global scl_name_base dotnet
645253
%global scl_name_version 21
645253
645253
%global scl %{scl_name_prefix}%{scl_name_base}%{scl_name_version}
645253
%scl_package %scl
645253
645253
%global nfsmoutnable 1
645253
645253
# For testing this RPM by itself.
645253
%global install_scl 1
645253
645253
# Do not produce empty debuginfo package
645253
%global debug_package %{nil}
645253
645253
Name: %scl_name
645253
Version: 2.1
0fc7ed
Release: 8%{?dist}
645253
Summary: Package that installs %scl
645253
License: MIT
645253
645253
BuildRequires:  scl-utils-build
645253
%if 0%{?install_scl}
645253
Requires:       %{scl_prefix}dotnet
645253
%endif
645253
645253
%description
645253
This is the main package for %scl Software Collection.
645253
645253
645253
%package runtime
645253
Summary: Package that handles %scl Software Collection.
645253
Requires: scl-utils
645253
645253
%description runtime
645253
Package shipping essential scripts to work with %scl Software Collection.
645253
645253
645253
%package build
645253
Summary: Package shipping basic build configuration
645253
Requires: scl-utils-build
645253
645253
%description build
645253
Package shipping essential configuration macros to build %scl Software Collection.
645253
645253
645253
%prep
645253
%setup -c -T
645253
645253
%build
645253
# Nothing to do
645253
645253
%install
645253
%scl_install
645253
645253
cat >> %{buildroot}%{_scl_scripts}/enable << EOF
a599a5
export PATH="%{_bindir}:%{_sbindir}\${PATH:+:\${PATH}}\${HOME:+:\${HOME}/.dotnet/tools}"
645253
export CPATH="%{_includedir}\${CPATH:+:\${CPATH}}"
645253
export LD_LIBRARY_PATH="%{_libdir}\${LD_LIBRARY_PATH:+:\${LD_LIBRARY_PATH}}"
645253
export MANPATH="%{_mandir}:\${MANPATH:-}"
645253
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}"
645253
export PYTHONPATH=%{_scl_root}%{python_sitelib}\${PYTHONPATH:+:\${PYTHONPATH}}
645253
export XDG_DATA_DIRS=%{_datadir}:\${XDG_DATA_DIRS:-/usr/local/share:/usr/share}
645253
645253
# Opt out of telemetry collection by default
645253
export DOTNET_CLI_TELEMETRY_OPTOUT=true
dd6d10
dd6d10
# Set the latest versions of ASP.NET Core packages to be picked up when
dd6d10
# building using the older SDKS
0fc7ed
export LatestPatchVersionForAspNetCoreApp2_1=2.1.9
0fc7ed
export LatestPatchVersionForAspNetCoreAll2_1=2.1.9
645253
EOF
645253
645253
645253
%files
645253
645253
%files runtime -f filelist
645253
%scl_files
645253
645253
%files build
645253
%{_root_sysconfdir}/rpm/macros.%{scl}-config
645253
645253
645253
%changelog
0fc7ed
* Wed Mar 06 2019 Omair Majid <omajid@redhat.com> - 2.1-8
0fc7ed
- Export environment variables to set ASP.NET Core versions to 2.1.9
0fc7ed
- Resolves: RHBZ#1685720
0fc7ed
0fc7ed
* Wed Jan 30 2019 Omair Majid <omajid@redhat.com> - 2.1-7
0fc7ed
- Export environment variables to set ASP.NET Core versions to 2.1.8
0fc7ed
- Resolves: RHBZ#1670648
0fc7ed
326f07
* Fri Dec 14 2018 Omair Majid <omajid@redhat.com> - 2.1-6
326f07
- Export environment variables to set ASP.NET Core versions to 2.1.7
326f07
- Resolves: RHBZ#1659216
326f07
d7fb40
* Mon Nov 05 2018 Omair Majid <omajid@redhat.com> - 2.1-5
d7fb40
- Export environment variables to set ASP.NET Core versions to 2.1.6
d7fb40
- Resolves: rhbz#1646697
d7fb40
719059
* Mon Oct 01 2018 Omair Majid <omajid@redhat.com> - 2.1-4
719059
- Export environment variables to set ASP.NET Core versions to 2.1.5
719059
- Resolves: rhbz#1634169
719059
dd6d10
* Wed Sep 05 2018 Omair Majid <omajid@redhat.com> - 2.1-3
dd6d10
- Export environment variables to set ASP.NET Core versions to 2.1.4
dd6d10
- Resolves: rhbz#1625403
dd6d10
a599a5
* Thu May 31 2018 Omair Majid <omajid@redhat.com> - 2.1-2
a599a5
- Add ~/.dotnet/tools to PATH on scl-enable
a599a5
- Resolves: rhbz#1584525
a599a5
645253
* Thu May 17 2018 Omair Majid <omajid@redhat.com> - 2.1-1
645253
- Update to 2.1
645253
645253
* Tue Jun 20 2017 Omair Majid <omajid@redhat.com> - 2.0-6
645253
- Add XDG_DATA_DIRS
645253
645253
* Thu Jun 8 2017 Omair Majid <omajid@redhat.com> - 2.0-5
645253
- Add requires on main dotnet package
645253
645253
* Wed Apr 19 2017 Omair Majid <omajid@redhat.com> - 2.0-4
645253
- Add CPATH
645253
645253
* Tue Apr 18 2017 Omair Majid <omajid@redhat.com> - 2.0-3
645253
- Add PYTHONPATH
645253
- Opt out of telemetry collection
645253
645253
* Mon Apr 17 2017 Omair Majid <omajid@redhat.com> - 2.0-2
645253
- Remove unprintable characters from build section
645253
- Do not require rest of SCL
645253
- Do not install man page
645253
645253
* Thu Apr 13 2017 Omair Majid <omajid@redhat.com> 2.0-1
645253
- Initial package