From ad87431d80b63fafe92ea5b7b161f831b0196ae87a86034bb31ca8e75174bb9c Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Mon, 15 Jan 2024 14:08:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kauth?expand=0&rev=302 --- kauth.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kauth.spec b/kauth.spec index 23ead6b..6e94d27 100644 --- a/kauth.spec +++ b/kauth.spec @@ -17,11 +17,11 @@ %define lname libKF5Auth5 -%define _tar_path 5.103 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} +%define qt5_version 5.15.2 %bcond_without released Name: kauth Version: 5.114.0 @@ -34,14 +34,13 @@ Source: %{name}-%{version}.tar.xz Source1: %{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif -BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} +BuildRequires: extra-cmake-modules >= %{_kf5_version} BuildRequires: fdupes -BuildRequires: kf5-filesystem BuildRequires: libpolkit-qt5-1-devel -BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version} -BuildRequires: cmake(Qt5DBus) >= 5.15.0 -BuildRequires: cmake(Qt5LinguistTools) >= 5.15.0 -BuildRequires: cmake(Qt5Widgets) >= 5.15.0 +BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_version} +BuildRequires: cmake(Qt5DBus) >= %{qt5_version} +BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version} +BuildRequires: cmake(Qt5Widgets) >= %{qt5_version} %description KAuth is a framework to let applications perform actions as a privileged user. @@ -64,7 +63,7 @@ KAuth is a framework to let applications perform actions as a privileged user. %package devel Summary: Framework which lets applications perform actions as a privileged user Requires: %{lname} = %{version} -Requires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version} +Requires: cmake(KF5CoreAddons) >= %{_kf5_version} %description devel KAuth is a framework to let applications perform actions as a privileged user.