Upgrade to version 2.13.2

This commit is contained in:
lyn1001 2024-02-01 17:03:33 +08:00
parent a7dc7bf87b
commit 02699de685
4 changed files with 5 additions and 15 deletions

View File

@ -1,12 +0,0 @@
diff -urp cppcheck-2.11.orig/cmake/versions.cmake cppcheck-2.11/cmake/versions.cmake
--- cppcheck-2.11.orig/cmake/versions.cmake 2023-06-22 05:07:56.000000000 -0400
+++ cppcheck-2.11/cmake/versions.cmake 2023-06-22 15:43:59.383790291 -0400
@@ -3,7 +3,7 @@ SET(VERSION "2.11")
STRING(REGEX MATCHALL "[0-9]+" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
-LIST(GET VERSION_PARTS 2 VERSION_PATCH)
+#LIST(GET VERSION_PARTS 2 VERSION_PATCH)
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
# Postfix of so's:

Binary file not shown.

BIN
cppcheck-2.13.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: cppcheck
Version: 2.11.1
Version: 2.13.2
Release: 1
Summary: Tool for static C/C++ code analysis
License: GPL-3.0
License: GPL-3.0-or-later
URL: http://cppcheck.wiki.sourceforge.net/
Source0: https://github.com/danmar/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0000: cppcheck-2.2-translations.patch
Patch0001: cppcheck-2.11.1-versions.patch
BuildRequires: gcc-c++ pcre-devel docbook-style-xsl libxslt cmake desktop-file-utils tinyxml2-devel >= 2.1.0
BuildRequires: qt5-qtbase-devel
@ -65,6 +64,9 @@ cd objdir-%{_target_platform}/bin
%{_mandir}/man1/cppcheck.1*
%changelog
* Thu Feb 1 2024 liyanan <liyanan61@h-partners.com> - 2.13.2-1
- Upgrade to version 2.13.2.
* Tue Jul 25 2023 xu_ping <707078654@qq.com> - 2.11.1-1
- Upgrade to version 2.11.1.