!6 Add requires python3-unversioned-command to resolve compatibility

From: @maminjie
Reviewed-by: @wang_yue111,@small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-03-04 14:07:27 +08:00 committed by Gitee
commit d939205330

View File

@ -1,6 +1,6 @@
Name: cppcheck
Version: 1.83
Release: 6
Release: 7
Summary: Tool for static C/C++ code analysis
License: GPLv3+
URL: http://cppcheck.wiki.sourceforge.net/
@ -13,7 +13,7 @@ Patch0003: cppcheck-1.83-cmake.patch
BuildRequires: gcc-c++ pcre-devel docbook-style-xsl libxslt cmake desktop-file-utils tinyxml2-devel >= 2.1.0
Requires: python3-pygments
Requires: python3-pygments python3-unversioned-command
Provides: %{name}-htmlreport = %{version}-%{release}
Obsoletes: %{name}-htmlreport < %{version}-%{release}
@ -62,6 +62,9 @@ cd objdir-%{_target_platform}/bin
%{_mandir}/man1/cppcheck.1*
%changelog
* Thu Mar 04 2021 maminjie <maminjie1@huawei.com> - 1.83-7
- Add requires python3-unversioned-command to resolve compatibility
* Fri Sep 11 2020 wutao <wutao61@huawei.com> - 1.83-6
- change requires to python3