[packages/qt5-qtwebsockets] use macro for qmake invocation

atler atler at pld-linux.org
Thu May 12 13:10:51 CEST 2022


commit 6df9b024f300b8c0bfed69d1ef4062ac388a5910
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu May 12 13:10:20 2022 +0200

    use macro for qmake invocation

 qt5-qtwebsockets.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/qt5-qtwebsockets.spec b/qt5-qtwebsockets.spec
index 196c548..257455f 100644
--- a/qt5-qtwebsockets.spec
+++ b/qt5-qtwebsockets.spec
@@ -31,7 +31,7 @@ BuildRequires:	qt5-build >= %{qtbase_ver}
 %{?with_qm:BuildRequires:	qt5-linguist >= 5.2}
 BuildRequires:	qt5-qmake >= %{qtbase_ver}
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.654
+BuildRequires:	rpmbuild(macros) >= 2.016
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -126,13 +126,13 @@ Przykłady do biblioteki Qt5 WebSockets.
 %setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1}
 
 %build
-qmake-qt5
+%{qmake_qt5}
 %{__make}
 %{?with_doc:%{__make} docs}
 
 %if %{with qm}
 cd qttranslations-everywhere-src-%{version}
-qmake-qt5
+%{qmake_qt5}
 %{__make}
 cd ..
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebsockets.git/commitdiff/6df9b024f300b8c0bfed69d1ef4062ac388a5910



More information about the pld-cvs-commit mailing list