From 15e02021e25b2c9a00d7eabaf6b2ffe5238c78b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=83=C2=A7ois=20Andriot?= Date: Sat, 2 Jun 2018 14:18:31 +0200 Subject: RPM: fix many build dependencies in spec files --- redhat/main/tdebase/tdebase-14.0.0.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'redhat/main/tdebase') diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec index 544270eaf..a8ec98222 100644 --- a/redhat/main/tdebase/tdebase-14.0.0.spec +++ b/redhat/main/tdebase/tdebase-14.0.0.spec @@ -69,7 +69,9 @@ Source5: pamd.kscreensaver-trinity%{?dist} %endif # openSUSE: configuration file for TDM +%if 0%{?suse_version} >= 1210 Source6: suse-displaymanagers-tdm +%endif # Fedora 18: use SYSTEMD for TDM startup %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 @@ -78,7 +80,7 @@ Source7: tdm.service%{?dist} # openSUSE 11.4: overwrite distribution-provided '/etc/init.d/xdm' !!! %if 0%{?suse_version} == 1140 -Source7: xdm.oss114 +Source7: xdm%{?dist} %endif # Fedora >= 17: special selinux policy required for TDM @@ -700,9 +702,14 @@ BuildRequires: libr-devel >= 0.6.0 %endif # RPC support -%if 0%{?fedora} >= 28 +%if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1550 BuildRequires: libtirpc-devel BuildRequires: rpcgen +%if 0%{?fedora} +BuildRequires: libnsl2-devel +%else +BuildRequires: libnsl-devel +%endif %endif # tdebase is a metapackage that installs all sub-packages -- cgit v1.2.1