diff --git a/kcrash.changes b/kcrash.changes index 41f8667..34929cf 100644 --- a/kcrash.changes +++ b/kcrash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 11 09:48:38 UTC 2014 - hrvoje.senjan@gmail.com + +- Define kf5_version within package + ------------------------------------------------------------------- Tue Jul 1 21:35:54 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/kcrash.spec b/kcrash.spec index 22e1660..820c944 100644 --- a/kcrash.spec +++ b/kcrash.spec @@ -20,12 +20,13 @@ Name: kcrash 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: kcoreaddons-devel >= %{_kf5_version} +BuildRequires: kcoreaddons-devel >= %{kf5_version} BuildRequires: kf5-filesystem -BuildRequires: kwindowsystem-devel >= %{_kf5_version} +BuildRequires: kwindowsystem-devel >= %{kf5_version} BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0 @@ -53,8 +54,8 @@ Summary: Gracefull handling of application crashes: Build Environment Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules -Requires: kcoreaddons-devel >= %{_kf5_version} -Requires: kwindowsystem-devel >= %{_kf5_version} +Requires: kcoreaddons-devel >= %{kf5_version} +Requires: kwindowsystem-devel >= %{kf5_version} Requires: pkgconfig(Qt5Core) >= 5.2.0 %description devel