Update conditionals for RHEL 10
Liek other IDM components, this needs fontawesome4-fonts rather than newer versions.
This commit is contained in:
parent
7bdac575ac
commit
5e8244efd7
@ -51,7 +51,7 @@ Source: https://github.com/dogtagpki/pki/archive/v%{version}%{?phase:-}%{?phase}
|
||||
# Fix pkiparser.py to work with Python 3.12
|
||||
Patch0: 0001-Handle-removal-of-ConfigParser.readfp-in-Python-3.12.patch
|
||||
|
||||
%if 0%{?fedora} && 0%{?fedora} > 35
|
||||
%if 0%{?fedora} > 35 || 0%{?rhel} > 9
|
||||
ExclusiveArch: %{java_arches}
|
||||
%else
|
||||
ExcludeArch: i686
|
||||
@ -748,7 +748,7 @@ Provides: pki-server-theme = %{version}-%{release}
|
||||
Obsoletes: %{product_id}-server-theme < %{version}-%{release}
|
||||
Provides: %{product_id}-server-theme = %{version}-%{release}
|
||||
|
||||
%if 0%{?fedora} > 38
|
||||
%if 0%{?fedora} > 38 || 0%{?rhel} > 9
|
||||
Requires: fontawesome4-fonts-web
|
||||
%else
|
||||
Requires: fontawesome-fonts-web
|
||||
@ -872,7 +872,7 @@ pkgs=base\
|
||||
|
||||
# Unbundle the FontAwesome fonts
|
||||
rm %{buildroot}%{_datadir}/pki/common-ui/fonts/fontawesome-webfont.woff
|
||||
%if 0%{?fedora} > 38
|
||||
%if 0%{?fedora} > 38 || 0%{?rhel} > 9
|
||||
ln -s ../../../fonts/fontawesome4/fontawesome-webfont.woff \
|
||||
%{buildroot}%{_datadir}/pki/common-ui/fonts/fontawesome-webfont.woff
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user