From 1eb7b316b7fe8df2904cb1dcf2f59f38307c90d49736df1fc8f95030fb2bc8c6 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 13 Sep 2017 09:58:02 +0000 Subject: [PATCH] Changes for KUF-KF5 syncing OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/extra-cmake-modules?expand=0&rev=144 --- extra-cmake-modules.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extra-cmake-modules.spec b/extra-cmake-modules.spec index 5bcb8fc..5088963 100644 --- a/extra-cmake-modules.spec +++ b/extra-cmake-modules.spec @@ -17,6 +17,11 @@ %define _tar_path 5.38 +# Full KF5 version (e.g. 5.33.0) +%{!?_kf5_version: %global _kf5_version %{version}} +# Last major and minor KF5 version (e.g. 5.33) +%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} +%define kf5_version %{version} Name: extra-cmake-modules Summary: CMake modules License: BSD-3-Clause