diff --git a/libtevent.spec b/libtevent.spec index 14e77ba..9e0be5b 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -14,6 +14,11 @@ License: LGPLv3+ URL: http://tevent.samba.org/ Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz +BuildRequires: gcc +%if (0%{?fedora} >= 28 || 0%{?rhel} > 7) +# workaround for unnecessary check in libreplace +BuildRequires: libtirpc-devel +%endif BuildRequires: libtalloc-devel >= 2.1.0 BuildRequires: python2-devel BuildRequires: python2-talloc-devel >= 2.1.0