Don't build dotnet package on Fedora 38
But keep it for older versions.
This commit is contained in:
parent
f78d53f5cc
commit
de2f31ceab
@ -176,10 +176,9 @@ application to drive everything.
|
|||||||
# The `dotnet` package was a bit of historical mistake. Users
|
# The `dotnet` package was a bit of historical mistake. Users
|
||||||
# shouldn't be asked to install .NET without a version because .NET
|
# shouldn't be asked to install .NET without a version because .NET
|
||||||
# code (source or build) is generally version specific. We have kept
|
# code (source or build) is generally version specific. We have kept
|
||||||
# it around in RHEL 8, and it's also present in the older dotnet6.0
|
# it around in older versions of RHEL and Fedora. But no reason to
|
||||||
# package in Fedora. But no reason to continue this mistake for newer
|
# continue this mistake.
|
||||||
# versions of .NET or Fedora.
|
%if ( 0%{?fedora} && 0%{?fedora} < 38 ) || ( 0%{?rhel} && 0%{?rhel} < 8 )
|
||||||
%if 0%{?fedora} < 1 && 0%{?rhel} <= 8
|
|
||||||
|
|
||||||
%package -n dotnet
|
%package -n dotnet
|
||||||
|
|
||||||
@ -604,7 +603,7 @@ export COMPlus_LTTng=0
|
|||||||
%{buildroot}%{_libdir}/dotnet/dotnet --version
|
%{buildroot}%{_libdir}/dotnet/dotnet --version
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?fedora} < 1 && 0%{?rhel} <= 8
|
%if ( 0%{?fedora} && 0%{?fedora} < 38 ) || ( 0%{?rhel} && 0%{?rhel} < 9 )
|
||||||
%files -n dotnet
|
%files -n dotnet
|
||||||
# empty package useful for dependencies
|
# empty package useful for dependencies
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user