From 1a62a305be01972ef1b81469134faa4937836096 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Thu, 3 May 2018 10:47:46 -0700 Subject: [PATCH] Fedora 28: Add BuildRequires: libtirpc-devel Add "BuildRequires: libtirpc-devel" to fix mock builds on Fedora 28. Reviewed-by: Brian Behlendorf Signed-off-by: Tony Hutter Closes #7494 Closes #7495 --- rpm/generic/zfs.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 0db067ae02..e0862b14b6 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -99,6 +99,9 @@ BuildRequires: libblkid-devel BuildRequires: libudev-devel BuildRequires: libattr-devel BuildRequires: openssl-devel +%if 0%{?fedora} >= 28 +BuildRequires: libtirpc-devel +%endif Requires: openssl %if 0%{?_systemd} BuildRequires: systemd