!7 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:30 +08:00 committed by Gitee
commit 0873a13fbf

View File

@ -1,13 +1,13 @@
Name: qt5-qtserialport Name: qt5-qtserialport
Version: 5.11.1 Version: 5.11.1
Release: 5 Release: 6
Summary: Serialport component of qt5 Summary: Serialport 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/qtserialport-everywhere-src-5.11.1.tar.xz Source0: https://download.qt.io/new_archive/qt/5.11/5.11.1/submodules/qtserialport-everywhere-src-5.11.1.tar.xz
BuildRequires: qt5-qtbase-devel >= %{version} pkgconfig(libudev) BuildRequires: qt5-qtbase-devel >= %{version} pkgconfig(libudev)
Requires: %{_qt5} = %{_qt5_version} %{?_qt5:Requires: %{_qt5} = %{_qt5_version}}
%description %description
Qt Serial Port provides the basic functionality, which includes configuring, I/O operations, Qt Serial Port provides the basic functionality, which includes configuring, I/O operations,
@ -59,6 +59,9 @@ popd
%{_qt5_examplesdir}/ %{_qt5_examplesdir}/
%changelog %changelog
* Thu Mar 18 2021 maminjie <maminjie1@huawei.com> - 5.11.1-6
- Fix syntax error when macro is not defined
* Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-5 * Mon Sep 14 2020 liuweibo <liuweibo10@huawei.com> - 5.11.1-5
- Fix Source0 - Fix Source0