From fb38ada7abb891ff27981da67e6ef1475b9316b90f92261b2d87e601d8dc823c Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Wed, 1 Mar 2017 14:45:15 +0000 Subject: [PATCH] - Introduce and use kf5_version global OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kinfocenter5?expand=0&rev=142 --- kinfocenter5.changes | 5 +++++ kinfocenter5.spec | 38 ++++++++++++++++++++------------------ 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/kinfocenter5.changes b/kinfocenter5.changes index bdb8338..7b3467f 100644 --- a/kinfocenter5.changes +++ b/kinfocenter5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 1 14:44:53 UTC 2017 - fabian@ritter-vogt.de + +- Introduce and use kf5_version global + ------------------------------------------------------------------- Tue Feb 28 19:54:35 CET 2017 - fabian@ritter-vogt.de diff --git a/kinfocenter5.spec b/kinfocenter5.spec index 3314f70..45c78e0 100644 --- a/kinfocenter5.spec +++ b/kinfocenter5.spec @@ -16,6 +16,8 @@ # +%global kf5_version 5.9.0 + %bcond_without lang Name: kinfocenter5 Version: 5.9.3 @@ -37,25 +39,25 @@ BuildRequires: libraw1394-devel BuildRequires: pciutils-devel BuildRequires: update-desktop-files BuildRequires: xz -BuildRequires: cmake(KF5Completion) >= 5.9.3 -BuildRequires: cmake(KF5Config) >= 5.9.3 -BuildRequires: cmake(KF5ConfigWidgets) >= 5.9.3 -BuildRequires: cmake(KF5CoreAddons) >= 5.9.3 -BuildRequires: cmake(KF5DBusAddons) >= 5.9.3 -BuildRequires: cmake(KF5Declarative) >= 5.9.3 -BuildRequires: cmake(KF5DocTools) >= 5.9.3 -BuildRequires: cmake(KF5I18n) >= 5.9.3 -BuildRequires: cmake(KF5IconThemes) >= 5.9.3 -BuildRequires: cmake(KF5KCMUtils) >= 5.9.3 -BuildRequires: cmake(KF5KDELibs4Support) >= 5.9.3 -BuildRequires: cmake(KF5KIO) >= 5.9.3 -BuildRequires: cmake(KF5Package) >= 5.9.3 -BuildRequires: cmake(KF5Service) >= 5.9.3 -BuildRequires: cmake(KF5Solid) >= 5.9.3 -BuildRequires: cmake(KF5Solid) >= 5.9.3 +BuildRequires: cmake(KF5Completion) >= %{kf5_version} +BuildRequires: cmake(KF5Config) >= %{kf5_version} +BuildRequires: cmake(KF5ConfigWidgets) >= %{kf5_version} +BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version} +BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version} +BuildRequires: cmake(KF5Declarative) >= %{kf5_version} +BuildRequires: cmake(KF5DocTools) >= %{kf5_version} +BuildRequires: cmake(KF5I18n) >= %{kf5_version} +BuildRequires: cmake(KF5IconThemes) >= %{kf5_version} +BuildRequires: cmake(KF5KCMUtils) >= %{kf5_version} +BuildRequires: cmake(KF5KDELibs4Support) >= %{kf5_version} +BuildRequires: cmake(KF5KIO) >= %{kf5_version} +BuildRequires: cmake(KF5Package) >= %{kf5_version} +BuildRequires: cmake(KF5Service) >= %{kf5_version} +BuildRequires: cmake(KF5Solid) >= %{kf5_version} +BuildRequires: cmake(KF5Solid) >= %{kf5_version} BuildRequires: cmake(KF5Wayland) >= %{_plasma5_version} -BuildRequires: cmake(KF5WidgetsAddons) >= 5.9.3 -BuildRequires: cmake(KF5XmlGui) >= 5.9.3 +BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version} +BuildRequires: cmake(KF5XmlGui) >= %{kf5_version} BuildRequires: cmake(Qt5Core) >= 5.4.0 BuildRequires: cmake(Qt5Gui) >= 5.4.0 BuildRequires: cmake(Qt5Widgets) >= 5.4.0