From 40080e170c0b6e0e17e1476d8a1ede2b03883b16 Mon Sep 17 00:00:00 2001 From: maminjie Date: Thu, 18 Mar 2021 09:35:28 +0800 Subject: [PATCH] Fix syntax error when macro is not defined --- qt5-qtgraphicaleffects.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qt5-qtgraphicaleffects.spec b/qt5-qtgraphicaleffects.spec index f980b79..8bb8528 100644 --- a/qt5-qtgraphicaleffects.spec +++ b/qt5-qtgraphicaleffects.spec @@ -2,14 +2,14 @@ Name: qt5-qtgraphicaleffects Version: 5.11.1 -Release: 5 +Release: 6 Summary: Qtgraphicaleffects component of qt5 License: LGPLv2 with exceptions or LGPLv3 with exceptions URL: http://www.qt.io Source0: https://download.qt.io/new_archive/qt/5.11/5.11.1/submodules/qtgraphicaleffects-everywhere-src-5.11.1.tar.xz BuildRequires: qt5-qtbase-devel >= %{version} qt5-qtdeclarative-devel -Requires: %{_qt5} = %{_qt5_version} +%{?_qt5:Requires: %{_qt5} = %{_qt5_version}} %description The Qt Graphical Effects module provides a set of QML types for adding visually impressive and @@ -31,6 +31,9 @@ make install INSTALL_ROOT=%{buildroot} %{_qt5_qmldir}/*/ %changelog +* Thu Mar 18 2021 maminjie - 5.11.1-6 +- Fix syntax error when macro is not defined + * Mon Sep 14 2020 liuweibo - 5.11.1-5 - Fix Source0