summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Hutter <[email protected]>2018-05-03 10:47:46 -0700
committerBrian Behlendorf <[email protected]>2018-05-03 10:47:46 -0700
commit1a62a305be01972ef1b81469134faa4937836096 (patch)
tree5f43585e0bf99342eb9ad5dac87b0a0deb8fdf7e
parentbe9a5c355c819ac0f2aca1f8c30dc75164e10322 (diff)
Fedora 28: Add BuildRequires: libtirpc-devel
Add "BuildRequires: libtirpc-devel" to fix mock builds on Fedora 28. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Closes #7494 Closes #7495
-rw-r--r--rpm/generic/zfs.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
index 0db067ae0..e0862b14b 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