diff --git a/kirigami2.spec b/kirigami2.spec index bcab524..c4c830f 100644 --- a/kirigami2.spec +++ b/kirigami2.spec @@ -17,11 +17,11 @@ %define lname libKF5Kirigami2-5 -%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: kirigami2 Version: 5.114.0 @@ -34,22 +34,21 @@ 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} %if 0%{?suse_version} == 1500 BuildRequires: gcc10-c++ BuildRequires: gcc10-PIE %endif -BuildRequires: kf5-filesystem -BuildRequires: libQt5Gui-private-headers-devel -BuildRequires: cmake(Qt5Concurrent) >= 5.15.0 -BuildRequires: cmake(Qt5Core) >= 5.15.0 -BuildRequires: cmake(Qt5DBus) >= 5.15.0 -BuildRequires: cmake(Qt5Gui) >= 5.15.0 -BuildRequires: cmake(Qt5LinguistTools) >= 5.15.0 -BuildRequires: cmake(Qt5Quick) >= 5.15.0 -BuildRequires: cmake(Qt5QuickControls2) >= 5.15.0 -BuildRequires: cmake(Qt5Svg) >= 5.15.0 -BuildRequires: cmake(Qt5Test) >= 5.15.0 +BuildRequires: libQt5Gui-private-headers-devel >= %{qt5_version} +BuildRequires: cmake(Qt5Concurrent) >= %{qt5_version} +BuildRequires: cmake(Qt5Core) >= %{qt5_version} +BuildRequires: cmake(Qt5DBus) >= %{qt5_version} +BuildRequires: cmake(Qt5Gui) >= %{qt5_version} +BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version} +BuildRequires: cmake(Qt5Quick) >= %{qt5_version} +BuildRequires: cmake(Qt5QuickControls2) >= %{qt5_version} +BuildRequires: cmake(Qt5Svg) >= %{qt5_version} +BuildRequires: cmake(Qt5Test) >= %{qt5_version} Requires: libqt5-qtgraphicaleffects Requires: libqt5-qtquickcontrols2