!3 Fix syntax error when macro is not defined

From: @peijiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2023-05-22 07:40:55 +00:00 committed by Gitee
commit 0aeaa53532
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -5,7 +5,7 @@
Summary: Qt6 - QtImageFormats component
Name: qt6-%{qt_module}
Version: 6.5.0
Release: 1
Release: 2
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://www.qt.io
@ -20,10 +20,9 @@ BuildRequires: ninja-build
BuildRequires: qt6-qtbase-devel >= %{version}
BuildRequires: qt6-qtbase-private-devel
BuildRequires: libtiff-devel
# BuildRequires: jasper-devel
BuildRequires: pkgconfig(libmng)
BuildRequires: pkgconfig(libwebp)
Requires: %{_qt6}%{?_isa} = %{_qt6_version}
%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
# filter plugin provides
%global __provides_exclude_from ^%{_qt6_plugindir}/.*\\.so$
@ -66,8 +65,11 @@ DESTDIR="%{buildroot}" cmake --install .
%changelog
* Mon May 22 2023 peijiankang <peijiankang@kylinos.cn> - 6.5.0-2
- Fix syntax error when macro is not defined
* Mon May 15 2023 EastDong <xudong23@iscas.ac.cn> - 6.5.0-1
- update package
* Fri Nov 11 2022 Jingwiw <wangjingwei@iscas.ac.cn> - 6.4.0-1
- init package
- init package