From aae4d68b0a79034057082839743607fcdcf7a568 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-bluez-qt.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kf5-bluez-qt.spec b/kf5-bluez-qt.spec index 1b1a34a..e54b046 100644 --- a/kf5-bluez-qt.spec +++ b/kf5-bluez-qt.spec @@ -9,9 +9,9 @@ Release: 1%{?dist} License: LGPLv2+ 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 BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf5-rpm-macros >= %{version}