From 1949c3c5554ad7d498452bbb634ed87b29898d32 Mon Sep 17 00:00:00 2001 From: maminjie Date: Thu, 18 Mar 2021 09:46:10 +0800 Subject: [PATCH] Fix syntax error when macro is not defined (cherry picked from commit d1a1867093a5ea0dc34efb8cbe97d141ed15f8f3) --- qt5-qtimageformats.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/qt5-qtimageformats.spec b/qt5-qtimageformats.spec index fea633f..f041da4 100644 --- a/qt5-qtimageformats.spec +++ b/qt5-qtimageformats.spec @@ -2,14 +2,14 @@ Name: qt5-qtimageformats Version: 5.11.1 -Release: 5 +Release: 7 Summary: Qtimageformats component of qt5 License: LGPLv2 with exceptions or LGPLv3 with exceptions URL: http://www.qt.io Source0: https://download.qt.io/archive/qt/5.11/5.11.1/submodules/qtimageformats-everywhere-src-5.11.1.tar.xz BuildRequires: qt5-qtbase-devel >= %{version} libmng-devel libtiff-devel libwebp-devel -Requires: %{_qt5} = %{_qt5_version} +%{?_qt5:Requires: %{_qt5} = %{_qt5_version}} Provides: qt5-qtimageformats-devel = %{version}-%{release} @@ -34,5 +34,11 @@ make install INSTALL_ROOT=%{buildroot} %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake %changelog +* Thu Mar 18 2021 maminjie - 5.11.1-7 +- Fix syntax error when macro is not defined + +* Mon Sep 14 2020 liuweibo - 5.11.1-6 +- Fix Source0 + * Fri Feb 14 2020 lingsheng - 5.11.1-5 - Package init -- Gitee