diff --git a/kcmutils.changes b/kcmutils.changes index 86af03e..5955666 100644 --- a/kcmutils.changes +++ b/kcmutils.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:36:13 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/kcmutils.spec b/kcmutils.spec index 0c30e65..7ef1275 100644 --- a/kcmutils.spec +++ b/kcmutils.spec @@ -20,17 +20,18 @@ Name: kcmutils 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: kconfigwidgets-devel >= %{_kf5_version} -BuildRequires: kcoreaddons-devel >= %{_kf5_version} +BuildRequires: kconfigwidgets-devel >= %{kf5_version} +BuildRequires: kcoreaddons-devel >= %{kf5_version} BuildRequires: kf5-filesystem -BuildRequires: ki18n-devel >= %{_kf5_version} -BuildRequires: kiconthemes-devel >= %{_kf5_version} -BuildRequires: kitemviews-devel >= %{_kf5_version} -BuildRequires: kservice-devel >= %{_kf5_version} -BuildRequires: kxmlgui-devel >= %{_kf5_version} +BuildRequires: ki18n-devel >= %{kf5_version} +BuildRequires: kiconthemes-devel >= %{kf5_version} +BuildRequires: kitemviews-devel >= %{kf5_version} +BuildRequires: kservice-devel >= %{kf5_version} +BuildRequires: kxmlgui-devel >= %{kf5_version} BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 Summary: Provides various classes to work with KCModules @@ -60,11 +61,11 @@ Summary: Provides various classes to work with KCModules: Build Environme Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules -Requires: kconfigwidgets-devel >= %{_kf5_version} -Requires: kiconthemes-devel >= %{_kf5_version} -Requires: kitemviews-devel >= %{_kf5_version} -Requires: kservice-devel >= %{_kf5_version} -Requires: kxmlgui-devel >= %{_kf5_version} +Requires: kconfigwidgets-devel >= %{kf5_version} +Requires: kiconthemes-devel >= %{kf5_version} +Requires: kitemviews-devel >= %{kf5_version} +Requires: kservice-devel >= %{kf5_version} +Requires: kxmlgui-devel >= %{kf5_version} %description devel KCMUtils provides various classes to work with KCModules. KCModules can be