!6 Fix syntax error when macro is not defined

From: @maminjie
Reviewed-by: @wang_yue111,@small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-03-18 14:50:24 +08:00 committed by Gitee
commit 83fcb04129

View File

@ -2,14 +2,14 @@
Name: qt5-qtimageformats Name: qt5-qtimageformats
Version: 5.11.1 Version: 5.11.1
Release: 6 Release: 7
Summary: Qtimageformats component of qt5 Summary: Qtimageformats component of qt5
License: LGPLv2 with exceptions or LGPLv3 with exceptions License: LGPLv2 with exceptions or LGPLv3 with exceptions
URL: http://www.qt.io URL: http://www.qt.io
Source0: https://download.qt.io/new_archive/qt/5.11/5.11.1/submodules/qtimageformats-everywhere-src-5.11.1.tar.xz Source0: https://download.qt.io/new_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 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} Provides: qt5-qtimageformats-devel = %{version}-%{release}
@ -34,6 +34,9 @@ make install INSTALL_ROOT=%{buildroot}
%{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake %{_qt5_libdir}/cmake/Qt5Gui/Qt5Gui_*Plugin.cmake
%changelog %changelog
* Thu Mar 18 2021 maminjie <maminjie1@huawei.com> - 5.11.1-7
- Fix syntax error when macro is not defined
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-6 * Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-6
- Fix Source0 - Fix Source0