From 1baa0840c5d8598b6094a117f2e24149943a5e9f 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-khtml.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kf5-khtml.spec b/kf5-khtml.spec index 509cf15..b253339 100644 --- a/kf5-khtml.spec +++ b/kf5-khtml.spec @@ -8,9 +8,9 @@ Summary: KDE Frameworks 5 Tier 4 solution with KHTML, a HTML rendering engine License: LGPLv2+ and GPLv3 and MIT 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}/portingAids/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/portingAids/%{framework}-%{version}.tar.xz # filter plugin provides %global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$