summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqt3/tqt3-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/tqt3/tqt3-14.0.0.spec')
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec11
1 files changed, 11 insertions, 0 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}"