summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqt3/tqt3-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2018-05-13 13:33:36 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2018-05-13 13:34:18 +0200
commit35859abe41040ab12ea19636471ec6fc0e7686e2 (patch)
tree2997b9547715e9711ea22ae615d20316c6a4e53a /redhat/dependencies/tqt3/tqt3-14.0.0.spec
parent9512efc10de55c5689f398107df14ae96670932e (diff)
downloadtde-packaging-35859abe41040ab12ea19636471ec6fc0e7686e2.tar.gz
tde-packaging-35859abe41040ab12ea19636471ec6fc0e7686e2.zip
RPM packaging: updates for Fedora 28 / OpenSUSE 15.0
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}"