[X2Go-Commits] [nx-libs] 02/03: nx-libs.spec: build-depend on libtirpc-devel for rpc/rpc.h and friends on Fedora 28+.

git-admin at x2go.org git-admin at x2go.org
Wed Feb 7 22:31:15 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 6449b554837e0c8c566a00a7342fd787711d57ca
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Feb 7 22:28:02 2018 +0100

    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(+)

diff --git a/nx-libs.spec b/nx-libs.spec
index f68437d..051f14e 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

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list