From: Olaf Faaland Date: Fri, 6 Sep 2019 18:30:07 +0000 (-0700) Subject: BuildRequires libtirpc-devel needed for RHEL 8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bbf0477a7f8936627c37ab89c704e763aa63b37;p=zfs BuildRequires libtirpc-devel needed for RHEL 8 Building against RHEL 8 requires libtirpc-devel, as with fedora 28. Add rhel8 and centos8 options to the test, to account for that. BuildRequires Originally added for fedora 28 via commit 1a62a305be01972ef1b81469134faa4937836096 Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Signed-off-by: Olaf Faaland Closes #9289 --- diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index e4aef6725..5ef6f7bcf 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -139,7 +139,7 @@ BuildRequires: libblkid-devel BuildRequires: libudev-devel BuildRequires: libattr-devel BuildRequires: openssl-devel -%if 0%{?fedora} >= 28 +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 || 0%{?centos} >= 8 BuildRequires: libtirpc-devel %endif Requires: openssl