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
a599a5
Release: 2%{?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
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
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