Skip to content

Commit

Permalink
BuildRequires libtirpc-devel needed for RHEL 8
Browse files Browse the repository at this point in the history
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
1a62a30

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes openzfs#9289
  • Loading branch information
ofaaland authored and tonyhutter committed Sep 17, 2019
1 parent 8718b2b commit 217c425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/generic/zfs.spec.in
Expand Up @@ -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
Expand Down

0 comments on commit 217c425

Please sign in to comment.