From e57fb43c4078967f86d590edba4c998dc1ffdb67534db8cc3077dc562e6efbcd Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Mon, 15 Jan 2024 14:09:43 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kinit?expand=0&rev=297 --- kinit.spec | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/kinit.spec b/kinit.spec index 7c11ac8..518a904 100644 --- a/kinit.spec +++ b/kinit.spec @@ -16,11 +16,11 @@ # -%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: kinit Version: 5.114.0 @@ -37,24 +37,23 @@ Source2: frameworks.keyring Patch0: fpie.patch # PATCH-FIX-OPENSUSE Patch1: 0001-Only-move-XAUTHORITY-if-it-s-temporary.patch -BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} +BuildRequires: extra-cmake-modules >= %{_kf5_version} BuildRequires: fdupes -BuildRequires: kf5-filesystem BuildRequires: libcap-devel BuildRequires: libcap-progs BuildRequires: pkgconfig -BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version} -BuildRequires: cmake(KF5Crash) >= %{_kf5_bugfix_version} -BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_bugfix_version} -BuildRequires: cmake(KF5DocTools) >= %{_kf5_bugfix_version} -BuildRequires: cmake(KF5I18n) >= %{_kf5_bugfix_version} -BuildRequires: cmake(KF5KIO) >= %{_kf5_bugfix_version} -BuildRequires: cmake(KF5Service) >= %{_kf5_bugfix_version} -BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version} -BuildRequires: cmake(Qt5Core) >= 5.15.0 -BuildRequires: cmake(Qt5DBus) >= 5.15.0 -BuildRequires: cmake(Qt5Gui) >= 5.15.0 -BuildRequires: cmake(Qt5Widgets) >= 5.15.0 +BuildRequires: cmake(KF5Config) >= %{_kf5_version} +BuildRequires: cmake(KF5Crash) >= %{_kf5_version} +BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_version} +BuildRequires: cmake(KF5DocTools) >= %{_kf5_version} +BuildRequires: cmake(KF5I18n) >= %{_kf5_version} +BuildRequires: cmake(KF5KIO) >= %{_kf5_version} +BuildRequires: cmake(KF5Service) >= %{_kf5_version} +BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_version} +BuildRequires: cmake(Qt5Core) >= %{qt5_version} +BuildRequires: cmake(Qt5DBus) >= %{qt5_version} +BuildRequires: cmake(Qt5Gui) >= %{qt5_version} +BuildRequires: cmake(Qt5Widgets) >= %{qt5_version} BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb)