From 9267ef84fdd8970d8ef2f39a840cb3c4a6b7d7fc 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 3a46c127e..4b5948f1e 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -96,6 +96,9 @@ BuildRequires: libuuid-devel BuildRequires: libblkid-devel BuildRequires: libudev-devel BuildRequires: libattr-devel +%if 0%{?fedora} >= 28 +BuildRequires: libtirpc-devel +%endif %endif %if 0%{?_systemd}