aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2018-02-07 22:28:02 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-07 22:28:40 +0100
commit6449b554837e0c8c566a00a7342fd787711d57ca (patch)
tree42fa9d8e01977dee74e2ca6e02195e76b4ad4462
parent88efaf8afcdfdfab8fadd004088fb6c360186753 (diff)
downloadnx-libs-6449b554837e0c8c566a00a7342fd787711d57ca.tar.gz
nx-libs-6449b554837e0c8c566a00a7342fd787711d57ca.tar.bz2
nx-libs-6449b554837e0c8c566a00a7342fd787711d57ca.zip
nx-libs.spec: build-depend on libtirpc-devel for rpc/rpc.h and friends on Fedora 28+.
These headers have been obsoleted in glibc and are not shipped by default any longer. Fedora follows suit.
-rw-r--r--nx-libs.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index f68437d28..051f14e19 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -120,6 +120,11 @@ BuildRequires: xorg-x11-font-utils
BuildRequires: xorg-x11-proto-devel
BuildRequires: zlib-devel
+# RPC headers. Fedora 28+ phased them out of glibc, like upstream did.
+%if 0%{?fedora} > 27
+BuildRequires: libtirpc-devel
+%endif
+
%if 0%{?suse_version} >= 1130 || 0%{?fedora}
%define cond_noarch BuildArch: noarch
%else