[X2Go-Commits] [nx-libs] 05/06: nx-libs.spec: fix TIRPC usage on *SuSE 15.3+.
git-admin at x2go.org
git-admin at x2go.org
Thu Jun 1 13:49:42 CEST 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch build-3.5.99.26
in repository nx-libs.
commit 70293a83b73240b56a21f9de800a958ac1106333
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Feb 23 14:29:38 2023 +0100
nx-libs.spec: fix TIRPC usage on *SuSE 15.3+.
---
nx-libs.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nx-libs.spec b/nx-libs.spec
index f7631a9e7..43a8a1f6a 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -126,7 +126,7 @@ BuildRequires: xorg-x11-proto-devel
BuildRequires: zlib-devel
# RPC headers. Fedora 28+ and OpenSuSE Tumbleweed phased them out of glibc, like upstream did.
-%if 0%{?fedora} > 27 || 0%{?suse_version} > 1500
+%if 0%{?fedora} > 27 || ( 0%{?suse_version} && ( 0%{?suse_version} > 1500 || 0%{?sle_version} > 150200 ) )
BuildRequires: libtirpc-devel
%endif
@@ -435,7 +435,7 @@ LOCAL_LDFLAGS="%{__global_ldflags}"
CDEBUGFLAGS="%{?__global_cppflags} %{?__global_cflags} %{?optflags}"
IMAKE_DEFINES=''
FORCE_TIRPC='NO'
-%if 0%{?fedora} > 27 || 0%{?suse_version} > 1500
+%if 0%{?fedora} > 27 || ( 0%{?suse_version} && ( 0%{?suse_version} > 1500 || 0%{?sle_version} > 150200 ) )
FORCE_TIRPC='YES'
%endif
IMAKE_DEFINES="-DUseTIRPC=${FORCE_TIRPC}"
--
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