From 3a75947a0632384ff854d0ca00b8f5b0197bc2a0531ac94eb2bac7d21359bfa8 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Wed, 21 Sep 2016 16:39:16 +0000 Subject: [PATCH] Make it possible to reuse spec files for KUF again OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/kinfocenter5?expand=0&rev=5 --- kinfocenter5.changes | 5 +++++ kinfocenter5.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/kinfocenter5.changes b/kinfocenter5.changes index be1f9bd..9a61125 100644 --- a/kinfocenter5.changes +++ b/kinfocenter5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 21 09:14:58 UTC 2016 - fabian@ritter-vogt.de + +- Use %{_plasma5_version} again, define it if needed + ------------------------------------------------------------------- Thu Sep 15 15:53:55 UTC 2016 - fabian@ritter-vogt.de diff --git a/kinfocenter5.spec b/kinfocenter5.spec index b934993..648ff81 100644 --- a/kinfocenter5.spec +++ b/kinfocenter5.spec @@ -19,6 +19,7 @@ %bcond_without lang Name: kinfocenter5 Version: 5.7.95 +%{!?_plasma5_version: %global _plasma5_version %{version}} Release: 0 Summary: Utility that provides information about a computer system License: GPL-2.0+ @@ -50,7 +51,7 @@ BuildRequires: cmake(KF5Package) >= 5.9.0 BuildRequires: cmake(KF5Service) >= 5.9.0 BuildRequires: cmake(KF5Solid) >= 5.9.0 BuildRequires: cmake(KF5Solid) >= 5.9.0 -BuildRequires: cmake(KF5Wayland) >= %{version} +BuildRequires: cmake(KF5Wayland) >= %{_plasma5_version} BuildRequires: cmake(KF5WidgetsAddons) >= 5.9.0 BuildRequires: cmake(KF5XmlGui) >= 5.9.0 BuildRequires: cmake(Qt5Core) >= 5.4.0