Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cppcheck for openSUSE:Factory 
checked in at 2023-02-01 16:39:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cppcheck (Old)
 and      /work/SRC/openSUSE:Factory/.cppcheck.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cppcheck"

Wed Feb  1 16:39:50 2023 rev:29 rq:1062417 version:2.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/cppcheck/cppcheck.changes        2022-12-15 
19:25:58.360318300 +0100
+++ /work/SRC/openSUSE:Factory/.cppcheck.new.32243/cppcheck.changes     
2023-02-01 16:43:24.607257144 +0100
@@ -1,0 +2,27 @@
+Tue Jan 31 18:24:47 UTC 2023 - PragmaticLinux <i...@pragmaticlinux.com>
+
+- install files from the addons/ and platforms/ directories - boo#1207806
+- correct shebang fix for htmlreport/cppcheck-htmlreport
+
+-------------------------------------------------------------------
+Mon Jan 30 12:07:50 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.10.0:
+  * Many improvements and fixes in checkers.
+  * New check: use memset/memcpy instead of loop
+  CLI:
+  * if the file provided via "--file-list" cannot be opened it
+    will now error out
+  * add command-line option "--disable=" to individually disable
+    checks
+  GUI:
+  * Detect when installed version is old. There is setting in
+    Edit/Preferences to turn this on.
+  * Fix path issue with backslashes
+  * Cleanup *.ctu-info files after analysis
+  Build:
+  * the deprecated Makefile option SRCDIR is no longer accepted
+  * added CMake option BUILD_CORE_DLL to build lib as
+    cppcheck-core.dll with Visual Studio
+
+-------------------------------------------------------------------

Old:
----
  cppcheck-2.9.3.tar.gz

New:
----
  cppcheck-2.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cppcheck.spec ++++++
--- /var/tmp/diff_new_pack.bbkWvP/_old  2023-02-01 16:43:25.027259430 +0100
+++ /var/tmp/diff_new_pack.bbkWvP/_new  2023-02-01 16:43:25.035259473 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cppcheck
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           cppcheck
-Version:        2.9.3
+Version:        2.10
 Release:        0
 Summary:        A tool for static C/C++ code analysis
 License:        GPL-3.0-or-later
@@ -25,6 +25,7 @@
 Source:         
https://github.com/danmar/cppcheck/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  docbook-xsl-stylesheets
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libqt5-linguist-devel
 BuildRequires:  pkgconfig
@@ -91,7 +92,7 @@
     
DB2MAN=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl
 
 # use python3 as interpreter
-sed -i "s|env python|python3|g" htmlreport/cppcheck-htmlreport
+sed -i "s|env python3|python3|g" htmlreport/cppcheck-htmlreport
 
 %check
 export CXXFLAGS="%{optflags}"
@@ -108,6 +109,16 @@
   %{buildroot}%{_mandir}/man1/cppcheck.1
 install -d %{buildroot}%{_datadir}/%{name}/cfg
 install -pm 0644 cfg/*.cfg %{buildroot}%{_datadir}/%{name}/cfg
+install -d %{buildroot}%{_datadir}/%{name}/platforms
+install -pm 0644 platforms/*.xml %{buildroot}%{_datadir}/%{name}/platforms
+install -d %{buildroot}%{_datadir}/%{name}/addons
+install -pm 0644 addons/*.py %{buildroot}%{_datadir}/%{name}/addons
+# Give execute permission to python addons with a shebang to fix 
non-executable-script
+find %{buildroot}%{_datadir}/%{name}/addons -type f -size +0 -exec awk 'NR == 
1 && /^#!.*python/ { exit } { exit 1 }' {} \; -print0 | xargs -0 chmod +x
+# Correct shebang to fix env-script-interpreter
+find %{buildroot}%{_datadir}/%{name}/addons -type f -size +0 -exec awk 'NR == 
1 && /^#!.*python/ { exit } { exit 1 }' {} \; -print0 | xargs -0 sed -i "s|env 
python3|python3|g"
+# Remove duplicate files
+%fdupes -s %{buildroot}%{_datadir}/%{name}/platforms
 
 %files
 %doc AUTHORS

++++++ cppcheck-2.9.3.tar.gz -> cppcheck-2.10.tar.gz ++++++
++++ 164800 lines of diff (skipped)

Reply via email to