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