Fix pcre-static dep on fedora < 37, for virt-preview

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2022-08-15 16:49:40 -04:00
parent 34254733fe
commit 2874d70b6b
1 changed files with 6 additions and 1 deletions

View File

@ -504,7 +504,12 @@ BuildRequires: SDL2_image-devel
%endif
%if %{user_static}
BuildRequires: glibc-static pcre2-static glib2-static zlib-static
BuildRequires: glibc-static glib2-static zlib-static
%if 0%{?fedora} >= 37
BuildRequires: pcre2-static
%else
BuildRequires: pcre-static
%endif
%endif
# Requires for the Fedora 'qemu' metapackage