From 4bbf0477a7f8936627c37ab89c704e763aa63b37 Mon Sep 17 00:00:00 2001 From: Olaf Faaland Date: Fri, 6 Sep 2019 11:30:07 -0700 Subject: [PATCH] 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 --- rpm/generic/zfs.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index e4aef6725266..5ef6f7bcfa39 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