From 98382d0b8d544a03152b1ae44bbdba8b65cc7c2d Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Wed, 29 Oct 2014 03:37:40 +1100 Subject: [eclass] Fix handling of frameworks version dependencies within kde-frameworks. Using >=${PV} broke when a framework that depends on other frameworks had a patch release. For example, plasma-5.3.1 would try to pull in karchive-5.3.1 even though it doesn't exist (X.Y.0 releases are made together and X.Y.Z releases are made per-framework as needed). --- eclass/kde5-functions.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass/kde5-functions.eclass') diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 564dce81c42..44662762fc8 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -118,7 +118,7 @@ add_frameworks_dep() { if [[ -n ${3} ]]; then version=${3} elif [[ ${CATEGORY} = kde-frameworks ]]; then - version=${PV} + version=$(get_version_component_range 1-2) elif [[ ${CATEGORY} = kde-base ]]; then case $(get_kde_version) in 5.1) version=5.3.0 ;; -- cgit v1.2.3