diff options
Diffstat (limited to 'redhat/dependencies/polkit-tqt')
-rw-r--r-- | redhat/dependencies/polkit-tqt/polkit-tqt.spec | 9 |
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 |