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
This commit is contained in:
Fabian Vogt 2016-09-21 16:39:16 +00:00 committed by Git OBS Bridge
parent 94f578598f
commit 3a75947a06
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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