]> git.pld-linux.org Git - packages/qt5-qtdeclarative.git/blobdiff - qt5-qtdeclarative.spec
use macro for qmake invocation
[packages/qt5-qtdeclarative.git] / qt5-qtdeclarative.spec
index 12999a88d412967ca931ea3a825e482723e5ac88..6044836f5f1cd3b971b43e322882186e2208e46c 100644 (file)
@@ -28,9 +28,9 @@ Version:      5.15.4
 Release:       1
 License:       LGPL v2.1 or LGPL v3 with Qt Company LGPL Exception v1.1
 Group:         X11/Libraries
-Source0:       http://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
+Source0:       https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
 # Source0-md5: 5eece04590d1144978273b2ffed2776f
-Source1:       http://download.qt.io/official_releases/qt/5.15/%{version}/submodules/qttranslations-everywhere-opensource-src-%{version}.tar.xz
+Source1:       https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/qttranslations-everywhere-opensource-src-%{version}.tar.xz
 # Source1-md5: 6ba46a712a698118f396f78a785f6774
 Patch0:                gcc11.patch
 URL:           https://www.qt.io/
@@ -49,7 +49,8 @@ BuildRequires:        qt5-assistant >= %{qttools_assistant_ver}
 BuildRequires: qt5-build >= %{qtbase_ver}
 %{?with_qm:BuildRequires:      qt5-linguist >= %{qttools_linguist_ver}}
 BuildRequires: qt5-qmake >= %{qtbase_ver}
-BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: rpm-build >= 4.6
+BuildRequires: rpmbuild(macros) >= 2.016
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 # qml: Core Gui Qml Widgets
@@ -250,7 +251,7 @@ PrzykĹ‚ady do bibliotek Qt5 Declarative.
 %endif
 
 %build
-qmake-qt5 -- \
+%{qmake_qt5} -- \
        %{!?with_jit:-no}-feature-qml-jit
 
 %{__make}
@@ -259,7 +260,7 @@ qmake-qt5 -- \
 
 %if %{with qm}
 cd qttranslations-everywhere-src-%{version}
-qmake-qt5
+%{qmake_qt5}
 %{__make}
 cd ..
 %endif
This page took 0.10754 seconds and 4 git commands to generate.