From dd78d56a14af0a1453964d994834fc2359c39a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Deop=20i=20Argem=C3=AD?= Date: Sun, 15 Jan 2023 17:46:22 +0100 Subject: [PATCH] fix: use macros from macros.kf5 instead of custom code --- kf5-networkmanager-qt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kf5-networkmanager-qt.spec b/kf5-networkmanager-qt.spec index 4fe1107..114c099 100644 --- a/kf5-networkmanager-qt.spec +++ b/kf5-networkmanager-qt.spec @@ -9,7 +9,7 @@ Summary: A Tier 1 KDE Frameworks 5 module that wraps NetworkManager DBus API License: LGPLv2+ URL: https://invent.kde.org/frameworks/%{framework} -%global majmin %(echo %{version} | cut -d. -f1-2) +%global majmin %majmin_ver_kf5 %global stable %stable_kf5 Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz