diff --git a/kcalendarcore.spec b/kcalendarcore.spec index 26d95bd..250299c 100644 --- a/kcalendarcore.spec +++ b/kcalendarcore.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: kcalendarcore Version: 5.114.0 @@ -36,9 +36,9 @@ Source2: frameworks.keyring BuildRequires: extra-cmake-modules >= %{_kf5_version} BuildRequires: fdupes BuildRequires: cmake(LibIcal) >= 3.0 -BuildRequires: cmake(Qt5Core) >= 5.15.0 -BuildRequires: cmake(Qt5Gui) >= 5.15.0 -BuildRequires: cmake(Qt5Test) >= 5.15.0 +BuildRequires: cmake(Qt5Core) >= %{qt5_version} +BuildRequires: cmake(Qt5Gui) >= %{qt5_version} +BuildRequires: cmake(Qt5Test) >= %{qt5_version} %description KCalendarCore is a library to provide access to and handling of calendar data.