summaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorOlaf Faaland <[email protected]>2019-09-06 11:30:07 -0700
committerTony Hutter <[email protected]>2019-09-25 11:27:51 -0700
commit0ae5f0c8d29f2dff2470779cd7e1b4c3cfeaf12b (patch)
tree2aa4d939e6c8fc70ff989f9ef5aca889810596ce /rpm
parent146d7d8846d532a0ee66454ec0b14d6a511a6228 (diff)
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 <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Olaf Faaland <[email protected]> Closes #9289
Diffstat (limited to 'rpm')
-rw-r--r--rpm/generic/zfs.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
index 4fdf7bb69..b9ca5ed5f 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