From 6449b554837e0c8c566a00a7342fd787711d57ca Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Wed, 7 Feb 2018 22:28:02 +0100 Subject: 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. --- nx-libs.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nx-libs.spec') 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 -- cgit v1.2.3