]> granicus.if.org Git - zfs/commitdiff
BuildRequires libtirpc-devel needed for RHEL 8
authorOlaf Faaland <faaland1@llnl.gov>
Fri, 6 Sep 2019 18:30:07 +0000 (11:30 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 6 Sep 2019 18:30:07 +0000 (11:30 -0700)
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 <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #9289

rpm/generic/zfs.spec.in

index e4aef6725266bf5944d3b5133fb20b2c228a3e57..5ef6f7bcfa3952e710310ab863b01d02826858d3 100644 (file)
@@ -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