diff options
author | François Andriot <albator78@libertysurf.fr> | 2018-06-02 14:18:31 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2018-06-19 20:11:02 +0200 |
commit | 15e02021e25b2c9a00d7eabaf6b2ffe5238c78b3 (patch) | |
tree | 22a4bad9396a56f6f41ec459eceff7cb08f22851 /redhat/main/tdebase | |
parent | 0495750052664fd0c9a9b78b3aa359e84abf614c (diff) | |
download | tde-packaging-15e02021e25b2c9a00d7eabaf6b2ffe5238c78b3.tar.gz tde-packaging-15e02021e25b2c9a00d7eabaf6b2ffe5238c78b3.zip |
RPM: fix many build dependencies in spec files
Diffstat (limited to 'redhat/main/tdebase')
-rw-r--r-- | redhat/main/tdebase/tdebase-14.0.0.spec | 11 |
1 files changed, 9 insertions, 2 deletions
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 |