From b469e21aad43309b32dd1de111926bd967eedee1da5b88950b2b39ec7cab3713 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 11 Jul 2014 09:57:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kcompletion?expand=0&rev=30 --- kcompletion.changes | 5 +++++ kcompletion.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/kcompletion.changes b/kcompletion.changes index 0b5ba9e..c754002 100644 --- a/kcompletion.changes +++ b/kcompletion.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 11 09:48:37 UTC 2014 - hrvoje.senjan@gmail.com + +- Define kf5_version within package + ------------------------------------------------------------------- Tue Jul 1 21:35:34 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/kcompletion.spec b/kcompletion.spec index 6cf6fe2..9fd03e6 100644 --- a/kcompletion.spec +++ b/kcompletion.spec @@ -20,12 +20,13 @@ Name: kcompletion Version: 5.0.0 Release: 0 +%define kf5_version %{version} BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 1.0.0 BuildRequires: fdupes -BuildRequires: kconfig-devel >= %{_kf5_version} +BuildRequires: kconfig-devel >= %{kf5_version} BuildRequires: kf5-filesystem -BuildRequires: kwidgetsaddons-devel >= %{_kf5_version} +BuildRequires: kwidgetsaddons-devel >= %{kf5_version} BuildRequires: libqt5-linguist-devel >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 Summary: Provides widgets with advanced completion support @@ -54,8 +55,8 @@ Summary: Provides widgets with advanced completion support Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules -Requires: kconfig-devel >= %{_kf5_version} -Requires: kwidgetsaddons-devel >= %{_kf5_version} +Requires: kconfig-devel >= %{kf5_version} +Requires: kwidgetsaddons-devel >= %{kf5_version} %description devel KCompletion provides widgets with advanced completion support as well as a