Fix syntax error when macro is not defined

This commit is contained in:
peijiankang 2023-05-22 14:00:20 +08:00
parent 29d8cb29cc
commit e0e0650a59
2 changed files with 7 additions and 4 deletions

View File

@ -6,7 +6,7 @@
Summary: Qt6 - Qt Shader Tools module builds on the SPIR-V Open Source Ecosystem
Name: qt6-%{qt_module}
Version: 6.5.0
Release: 1
Release: 2
License: LGPLv3
Url: http://www.qt.io
@ -19,7 +19,7 @@ BuildRequires: ninja-build
BuildRequires: qt6-qtbase-devel >= %{version}
BuildRequires: qt6-qtbase-private-devel
BuildRequires: pkgconfig(xkbcommon) >= 0.4.1
Requires: %{_qt6}%{?_isa} = %{_qt6_version}
%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
%description
%{summary}.
@ -94,6 +94,9 @@ popd
%{_qt6_libdir}/pkgconfig/Qt6ShaderTools.pc
%changelog
* Mon May 22 2023 peijiankang <peijiankang@kylinos.cn> - 6.5.0-2
- Fix syntax error when macro is not defined
* Fri Apr 28 2023 EastDong <xudong23@iscas.ac.cn> - 6.5.0-1
- update package

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: https://code.qt.io/cgit/qt/qtshadertools.git
src_repo: https://code.qt.io/qt/qtshadertools.git
tag_prefix: "^v"
separator: "."