summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec11
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec2
2 files changed, 12 insertions, 1 deletions
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
index 3902bd64e..763abf773 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
@@ -292,6 +292,16 @@ BuildRequires: %{_lib}fbclient-devel
%define with_nis 1
%endif
+# RPC support
+%if 0%{?fedora} >= 28 || 0%{?suse_version} == 1500
+%if 0%{?fedora}
+BuildRequires: libnsl2-devel
+%else
+BuildRequires: libnsl-devel
+%endif
+BuildRequires: libtirpc-devel
+%endif
+
# x86_64 specific stuff
%if "%{_lib}" != "lib"
%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2)
@@ -1312,6 +1322,7 @@ for d in \
%{_includedir}/mysql \
%{_includedir}/libpng15 \
%{_includedir}/libpng16 \
+ %{_includedir}/tirpc \
; do
if [ -d "${d}" ]; then
INCDIRS="${INCDIRS} -I${d}"
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
index dfe89e406..21c9545e1 100755
--- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
+++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
@@ -83,7 +83,7 @@ BuildRequires: pth-devel
%if 0%{?fedora} && 0%{?fedora} <= 26
BuildRequires: pth-devel
%endif
-%if 0%{?suse_version} && 0%{?suse_version} != 1330
+%if 0%{?suse_version} && 0%{?suse_version} != 1330 && 0%{?suse_version} != 1500
BuildRequires: libpth-devel
%endif