From d48e133eb8130d6d2ebce165dc87cce53b57b548 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Thu, 12 May 2022 12:56:18 +0200 Subject: [PATCH 1/1] use macro for qmake invocation --- qt5-qtdeclarative.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 7d5f8b2..6044836 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -50,7 +50,7 @@ BuildRequires: qt5-build >= %{qtbase_ver} %{?with_qm:BuildRequires: qt5-linguist >= %{qttools_linguist_ver}} BuildRequires: qt5-qmake >= %{qtbase_ver} BuildRequires: rpm-build >= 4.6 -BuildRequires: rpmbuild(macros) >= 1.752 +BuildRequires: rpmbuild(macros) >= 2.016 BuildRequires: tar >= 1:1.22 BuildRequires: xz # qml: Core Gui Qml Widgets @@ -251,7 +251,7 @@ Przykłady do bibliotek Qt5 Declarative. %endif %build -qmake-qt5 -- \ +%{qmake_qt5} -- \ %{!?with_jit:-no}-feature-qml-jit %{__make} @@ -260,7 +260,7 @@ qmake-qt5 -- \ %if %{with qm} cd qttranslations-everywhere-src-%{version} -qmake-qt5 +%{qmake_qt5} %{__make} cd .. %endif -- 2.44.0