diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2014-10-29 03:37:40 +1100 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2014-10-29 03:37:40 +1100 |
| commit | 98382d0b8d544a03152b1ae44bbdba8b65cc7c2d (patch) | |
| tree | 7f91141c5116a94ab2ecda0b2c1b0e3bbff9cfc0 /eclass/kde5-functions.eclass | |
| parent | 63d0aa6ecd7536280236a1c5aacaafadd228c521 (diff) | |
| download | kde-98382d0b8d544a03152b1ae44bbdba8b65cc7c2d.tar.gz kde-98382d0b8d544a03152b1ae44bbdba8b65cc7c2d.tar.bz2 kde-98382d0b8d544a03152b1ae44bbdba8b65cc7c2d.zip | |
[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).
Diffstat (limited to 'eclass/kde5-functions.eclass')
| -rw-r--r-- | eclass/kde5-functions.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;; |
