| |
@@ -52,7 +52,7 @@
|
| |
|
| |
Name: dotnet3.0
|
| |
Version: %{sdk_rpm_version}
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: .NET Core CLI tools and runtime
|
| |
License: MIT and ASL 2.0 and BSD
|
| |
URL: https://github.com/dotnet/
|
| |
@@ -61,7 +61,7 @@
|
| |
# ./build-dotnet-tarball dotnet-v%%{runtime_version}
|
| |
Source0: dotnet-v%{runtime_version}.tar.gz
|
| |
Source1: check-debug-symbols.py
|
| |
- Source2: dotnet.sh
|
| |
+ Source2: dotnet.sh.in
|
| |
|
| |
Patch100: corefx-optflags-support.patch
|
| |
|
| |
@@ -338,6 +338,8 @@
|
| |
/p:ContinueOnPrebuiltBaselineError=true \
|
| |
|
| |
|
| |
+ sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE2} > dotnet.sh
|
| |
+
|
| |
|
| |
%install
|
| |
install -dm 0755 %{buildroot}%{_libdir}/dotnet
|
| |
@@ -355,9 +357,8 @@
|
| |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pubxml' -exec chmod -x {} \;
|
| |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {} \;
|
| |
|
| |
- # Add ~/.dotnet/tools to $PATH for all users
|
| |
install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/
|
| |
- install %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/
|
| |
+ install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/
|
| |
|
| |
install -dm 0755 %{buildroot}/%{_datadir}/bash-completion/completions
|
| |
# dynamic completion needs the file to be named the same as the base command
|
| |
@@ -430,6 +431,9 @@
|
| |
%dir %{_libdir}/dotnet/packs
|
| |
|
| |
%changelog
|
| |
+ * Fri Oct 11 2019 Omair Majid <omajid@redhat.com> - 3.0.100-2
|
| |
+ - Export DOTNET_ROOT in profile to make apphost lookup work
|
| |
+
|
| |
* Fri Sep 27 2019 Omair Majid <omajid@redhat.com> - 3.0.100-1
|
| |
- Update to .NET Core Runtime 3.0.0 and SDK 3.0.100
|
| |
|
| |
Also add support for non-x86_64 architecures by using %{_libdir} for path.
Build: https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet/build/1054510/