summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqt3
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/tqt3')
l---------redhat/dependencies/tqt3/build-examples.sh2
-rw-r--r--redhat/dependencies/tqt3/tqt3.spec12
-rw-r--r--redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc1
3 files changed, 7 insertions, 8 deletions
diff --git a/redhat/dependencies/tqt3/build-examples.sh b/redhat/dependencies/tqt3/build-examples.sh
index f8ef0b95c..4d654fcc9 120000
--- a/redhat/dependencies/tqt3/build-examples.sh
+++ b/redhat/dependencies/tqt3/build-examples.sh
@@ -1 +1 @@
-../../../ubuntu/trusty/dependencies/tqt3/debian/maintain/build-examples.sh \ No newline at end of file
+../../../debian/_base/dependencies/tqt3/debian/maintain/build-examples.sh \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec
index 2d63b6548..4d79d2247 100644
--- a/redhat/dependencies/tqt3/tqt3.spec
+++ b/redhat/dependencies/tqt3/tqt3.spec
@@ -48,6 +48,7 @@ BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: build-examples.sh
+Source2: trinity-tqt3-rpmlintrc
BuildRequires: glibc-devel
BuildRequires: gcc-c++
@@ -267,17 +268,12 @@ BuildRequires: sqlite3-devel
%endif
# POSTGRESQL support
-%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
-BuildRequires: postgresql10
-BuildRequires: postgresql10-devel
-%else
-BuildRequires: postgresql
-%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
+BuildRequires: postgresql
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
BuildRequires: postgresql-server-devel
%else
BuildRequires: postgresql-devel
%endif
-%endif
# Firebird support
%if 0%{?mdkversion} || 0%{?mgaversion}
@@ -1200,6 +1196,7 @@ for full internationalization support of the application towards the end user.
%{_datadir}/tqt3/translations/qt_it.qm
%{_datadir}/tqt3/translations/qt_ja.qm
%{_datadir}/tqt3/translations/qt_nb.qm
+%{_datadir}/tqt3/translations/qt_pt.qm
%{_datadir}/tqt3/translations/qt_pt-br.qm
%{_datadir}/tqt3/translations/qt_ru.qm
%{_datadir}/tqt3/translations/qt_sk.qm
@@ -1314,6 +1311,7 @@ done
# Checks for supplementary library dirs
LIBDIRS=""
for d in \
+ %{_libdir}/libglvnd \
%{_libdir}/mysql \
%{_libdir}/pgsql \
; do
diff --git a/redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc b/redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc
new file mode 100644
index 000000000..d131ff5e9
--- /dev/null
+++ b/redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc
@@ -0,0 +1 @@
+setBadness('shlib-policy-name-error', 0)