summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/polkit-tqt/polkit-tqt.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2024-06-13 08:37:13 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2024-06-13 08:38:31 +0200
commitac47c91c6c011631186592695e4251a3bb97dcca (patch)
treed91e4e98d96b4b2618d9fb3b879c28b67fc63a8f /redhat/dependencies/polkit-tqt/polkit-tqt.spec
parent1488354ed514d043f0c15ddbe8b9aa7c0b43f46c (diff)
downloadtde-packaging-ac47c91c6c011631186592695e4251a3bb97dcca.tar.gz
tde-packaging-ac47c91c6c011631186592695e4251a3bb97dcca.zip
RPM: synchronize redhat directory with r14.1.x branch
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/dependencies/polkit-tqt/polkit-tqt.spec')
-rw-r--r--redhat/dependencies/polkit-tqt/polkit-tqt.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/redhat/dependencies/polkit-tqt/polkit-tqt.spec b/redhat/dependencies/polkit-tqt/polkit-tqt.spec
index aa965f98c..cb3214d20 100644
--- a/redhat/dependencies/polkit-tqt/polkit-tqt.spec
+++ b/redhat/dependencies/polkit-tqt/polkit-tqt.spec
@@ -17,7 +17,7 @@
# TDE variables
%if "%{?tde_version}" == ""
-%define tde_version 14.1.0
+%define tde_version 14.1.2
%endif
%define tde_pkg polkit-tqt
@@ -52,14 +52,17 @@ Source1: %{name}-rpmlintrc
BuildRequires: trinity-tde-cmake >= %{tde_version}
BuildRequires: trinity-dbus-1-tqt-devel
-BuildRequires: trinity-filesystem >= %{tde_version}
BuildRequires: libtqt4-devel
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: gettext
+%if 0%{?mdkver}
+BuildRequires: %{_lib}polkit1-devel
+%else
BuildRequires: polkit-devel
+%endif
%description
PolicyKit is an application-level toolkit for defining and handling the policy
@@ -195,7 +198,7 @@ This package contains example files and applications.
%build
unset QTDIR QTINC QTLIB
-if ! rpm -E %%cmake|grep -q "cd build"; then
+if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
%__mkdir_p build
cd build
fi