From c74fb788d61e93b7508fb120bfceb6fcbb0869de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Deop=20i=20Argem=C3=AD?= Date: Sun, 15 Jan 2023 17:46:21 +0100 Subject: [PATCH] fix: use macros from macros.kf5 instead of custom code --- kf5-kinit.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kf5-kinit.spec b/kf5-kinit.spec index fa5624d..b2965b7 100644 --- a/kf5-kinit.spec +++ b/kf5-kinit.spec @@ -10,9 +10,9 @@ Summary: KDE Frameworks 5 tier 3 solution for process launching License: LGPLv2+ and BSD URL: https://invent.kde.org/frameworks/%{framework} -%global versiondir %(echo %{version} | cut -d. -f1-2) +%global majmin %majmin_ver_kf5 %global stable %stable_kf5 -Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz Source10: macros.kf5-kinit