Make gnutls-hmac.patch RHEL-only
This commit is contained in:
parent
2165f81e6b
commit
3a5973966c
@ -7,12 +7,11 @@ License: LGPLv2+
|
||||
URL: http://www.gtk.org
|
||||
Source0: http://download.gnome.org/sources/glib/2.67/glib-%{version}.tar.xz
|
||||
|
||||
%if 0%{?rhel}
|
||||
# Required for RHEL core crypto components policy.
|
||||
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/903
|
||||
Patch0: gnutls-hmac.patch
|
||||
|
||||
# For gnutls-hmac.patch
|
||||
BuildRequires: pkgconfig(gnutls)
|
||||
%endif
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: gcc
|
||||
@ -27,6 +26,10 @@ BuildRequires: libselinux-devel
|
||||
BuildRequires: meson
|
||||
# for sys/sdt.h
|
||||
BuildRequires: systemtap-sdt-devel
|
||||
%if 0%{?rhel}
|
||||
# For gnutls-hmac.patch
|
||||
BuildRequires: pkgconfig(gnutls)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libelf)
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
BuildRequires: pkgconfig(libpcre)
|
||||
|
Loading…
Reference in New Issue
Block a user