Commit Graph

186 Commits

Author SHA1 Message Date
Steve Grubb
dc3a190b2f Revert "Update to 2.10"
This reverts commit 2fd9c1984d.
2023-02-02 19:01:48 -05:00
Steve Grubb
2fd9c1984d Update to 2.10
Drop python3 patch as new version uses python3
2023-02-02 18:09:51 -05:00
Fedora Release Engineering
b16bda44e7 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:35:14 +00:00
Steve Grubb
1f301daa60 SPDX Migration 2023-01-13 10:03:49 -05:00
Rich Mattes
c2a89aefa3 Rebuild for tinyxml2-9.0.0 2022-09-25 14:40:13 -04:00
Wolfgang Stöggl
c375328a31 Update to 2.9 2022-08-28 16:34:32 +02:00
Fedora Release Engineering
411869e6e3 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:39:47 +00:00
Wolfgang Stöggl
69bb397641 Update to 2.8.2 2022-07-16 06:22:17 +02:00
Wolfgang Stöggl
cbf882a9c7 Update to 2.8
- Remove z3-devel, see upstream:
  https://github.com/danmar/cppcheck/commit/8f386e1
2022-05-25 06:14:16 +02:00
Jerry James
84ec457e0a Rebuild for z3 4.8.17 2022-05-19 13:41:06 -06:00
Wolfgang Stöggl
055678f7d2 Update to 2.7.4
- Remove patch:
  cppcheck-2.7.3-tinyxml2.patch
2022-03-25 21:31:10 +01:00
Wolfgang Stöggl
bc53bd0890 Update tinyxml2 patch and add upstream link
- Do not use z3 in case of i686. The i686 build fails since
  z3-4.8.15-1
2022-03-23 22:26:24 +01:00
Wolfgang Stöggl
ef547dcd11 Simplify cppcheck-2.7.3-tinyxml2.patch 2022-03-19 17:20:53 +01:00
Wolfgang Stöggl
9e60ef3b47 Update to 2.7.3
- Update tinyxml2 patch:
  cppcheck-2.7.3-tinyxml2.patch
- Remove patch:
  cppcheck-2.7-disable-test-testmathlib-tostring.patch
2022-03-19 15:21:17 +01:00
Wolfgang Stöggl
84bdb32ee3 Update to 2.7
- Add the following patches:
  cppcheck-2.7-tinyxml2.patch
  cppcheck-2.7-disable-test-testmathlib-tostring.patch
- Remove patch:
  cppcheck-2.5-disable-test-testexprengine-array7.patch
2022-02-09 21:00:27 +01:00
Fedora Release Engineering
d2128a85bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 23:54:57 +00:00
Wolfgang Stöggl
c0747da1f3 Update to 2.6
- Remove the following patch, which is not needed anymore in 2.6:
  cppcheck-2.5-fix_failed_to_load_translation_for_English.patch
- Remove -DNO_UNIX_SIGNAL_HANDLING to CXXFLAGS, due to new upstream
  fix: https://github.com/danmar/cppcheck/commit/8869ee3
- Restore execute permission of python files.
  Fixes rpmlint errors (8x): E: non-executable-script
2021-10-02 21:05:33 +02:00
Wolfgang Stöggl
6f85fa2223 Fix Failed to load translation for English
- Add patch:
  cppcheck-2.5-fix_failed_to_load_translation_for_English.patch
- Fixes: #1983599
2021-07-23 21:54:42 +02:00
Fedora Release Engineering
e2c1dbb34c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 20:03:59 +00:00
Fedora Release Engineering
9fe67b5a23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 15:08:44 +00:00
Wolfgang Stöggl
82d93b85ab Update to 2.5
- Remove the following patches, which are not needed anymore in 2.5:
  cppcheck-2.3-Fix-issue-10024-FP-nullPointerRedundantCheck-when-us.patch
  cppcheck-2.3-gcc11.patch
- Add patch: cppcheck-2.5-disable-test-testexprengine-array7.patch
- Add -DNO_UNIX_SIGNAL_HANDLING to CXXFLAGS
2021-07-04 21:34:39 +02:00
Tomas Hrnciar
259fc737cb BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:31 +02:00
Ondrej Mosnacek
2295200e13 Backport a fix for nullPointerRedundantCheck
Add a patch backported from upstream that fixes a bug which breaks the
build of libkcapi (https://bugzilla.redhat.com/show_bug.cgi?id=1923600).

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-02-02 14:23:24 +01:00
Fedora Release Engineering
efc659ef4d - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:37:49 +00:00
Wolfgang Stöggl
43e9f529a3 Add year to changelog entry 2021-01-05 20:51:26 +01:00
Timm Bäder
8e28e7a662 Explicitly disable oss-fuzz
oss-fuzz is never built when non-clang compilers are in use, but when
using clang and a system-wide tinyxml2 installation, cmake prints a
confusing error message. Disable it explicitly.
2021-01-05 18:37:53 +01:00
Tom Stellard
72b381084e Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 03:56:54 +00:00
Wolfgang Stöggl
c17ed7fd3f Update to 2.3
- Remove the following patches, which are not needed anymore in 2.3:
  cppcheck-2.2-tinyxml.patch
  cppcheck-2.2-exprengine.patch
  cppcheck-2.2-online-help.patch
  cppcheck-2.2-online-help_q_readonly.patch
- Update patch:
  cppcheck-2.3-gcc11.patch
- Add -DUSE_BUNDLED_TINYXML2=OFF to cmake
2020-12-05 21:16:27 +01:00
Wolfgang Stöggl
60fb113809 Add cppcheck-2.2-online-help_q_readonly.patch
- Add patch from merged upstream PR concerning Qt online-help:
  https://github.com/danmar/cppcheck/pull/2890
- Remove workaround for timestamp of online-help.qch
2020-11-09 12:51:55 +01:00
Wolfgang Stöggl
8b7b1c4cbd Ensure stored timestamp of online-help.qch is UTC
Make sure, that the timestamp of online-help.qch, which is stored
inside online-help.qhc, is in UTC. This is not relevant when the rpm
is built as usual on servers using UTC, but on systems with a different
local timezone.
2020-10-23 21:40:30 +02:00
Wolfgang Stöggl
295c9c21fd Fix missing Contents and Index in Qt help file
Adjust the timestamp of online-help.qch to the value expected by
online-help.qhc
- The rpm is built on servers using UTC. Get this UTC timestamp and
  apply it to the file under the local TZ
- Further details:
  9693940dad (commitcomment-43482215)
2020-10-22 20:20:10 +02:00
Jeff Law
3b49bcefb2 Finish last change 2020-10-13 17:05:30 -06:00
Jeff Law
755aeefb31 Fix missing #include for gcc-11 2020-10-13 17:03:42 -06:00
Wolfgang Stöggl
7148cf7978 Fix Helpfile 'online-help.qhc' was not found
- Add patch: cppcheck-2.2-online-help.patch
- Allow building under F31 and F32 by adding
  %%undefine __cmake_in_source_build
2020-10-11 08:33:34 +02:00
Wolfgang Stöggl
5073703177 Update to 2.2
- Add BR qt5-qttools-devel
- Update patches:
  cppcheck-2.2-tinyxml.patch
  cppcheck-2.2-translations.patch
- Add patch:
  cppcheck-2.2-exprengine.patch
2020-10-04 18:57:40 +02:00
Wolfgang Stöggl
27cade0386 Prepare for Cppcheck 2.2: Rename patch files 2020-10-04 18:52:57 +02:00
Susi Lehtola
563456da8e Gui package is always built. 2020-08-18 12:42:08 +02:00
Wolfgang Stöggl
def5035db3 Fix FTBFS #1863368
- Use %cmake_build and %cmake_install macros to fix FTBFS (#1863368)
- Rearrange BuildRequires:
  Put qt5-qtbase-devel and qt5-linguist inside if %{gui}
  Move cmake, python3-devel and z3-devel out of if %{gui}
2020-08-04 19:28:32 +02:00
Fedora Release Engineering
c2bf8eebba - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:28:41 +00:00
Fedora Release Engineering
256e13b8c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:39:10 +00:00
Susi Lehtola
061eacf9ca No need for EPEL specifics in spec since cppcheck is included in RHEL8. 2020-06-17 11:48:46 +02:00
Wolfgang Stöggl
4bdd5ae4e2 Enable Z3 on Fedora builds
Remark: Z3 is not available under epel 7 or epel 8
However, add general support for epel 8 to the spec file
in addition to epel 7 using "%if 0%{?rhel} >= 7"
2020-06-16 20:29:28 +02:00
Susi Lehtola
2035cd292a Update to 2.1. 2020-06-15 11:54:59 +02:00
Susi Lehtola
5690ed9b1d No qt5-devel, add cmake patch 2020-05-11 11:09:39 +02:00
Susi Lehtola
d4ec6a9894 Update to 2.0. 2020-05-11 10:46:49 +02:00
Fedora Release Engineering
275919b43c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:54:44 +00:00
Wolfgang Stöggl
f6b2db4516 Use python3 on EPEL7
- Drop cppcheck-1.90-htmlreport-python2.patch
2019-12-24 09:43:01 +01:00
Susi Lehtola
4dfe61b414 Tag new release due to CMake flag typo. 2019-12-23 16:43:00 +01:00
Wolfgang Stöggl
dceae1217d Fix typo in -DUSE_MATCHCOMPILER
Typo: -DMATCHCOMPILER -> -DUSE_MATCHCOMPILER
Fixes the following CMake Warning:
  Manually-specified variables were not used by the project:
    MATCHCOMPILER
2019-12-23 15:01:26 +01:00
Susi Lehtola
afdc65b35e Switch EPEL build to CMake3. 2019-12-22 11:22:49 +01:00