Commit Graph

168 Commits

Author SHA1 Message Date
Wolfgang Stöggl 2998b0780d Update to 2.7
- Add the following patch:
  cppcheck-2.7-tinyxml2.patch
- Remove patch:
  cppcheck-2.5-disable-test-testexprengine-array7.patch
2022-02-10 22:12:07 +01:00
Wolfgang Stöggl 6b94cc6ccc 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-03 08:43:38 +02:00
Wolfgang Stöggl 7a7613a777 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 22:18:38 +02:00
Wolfgang Stöggl eabfd86eb3 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
2021-07-05 21:37:26 +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
Susi Lehtola 32eb7c1b11 Fix FTBFS on EPEL7. 2019-12-22 10:59:40 +01:00
Wolfgang Stöggl 613ef46fef New upstream version 1.90
- Drop cppcheck-1.89-manual.patch
  The file manual.docbook has been removed upstream
- Use pandoc to create manual.html from manual.md
- Add reference-cfg-format.html to doc
- Use %%license macro instead of %%doc for the COPYING file
- Fix typo in cppcheck-1.89-translations.patch:
  CppCheck/lang/ -> Cppcheck/lang/
- drop cppcheck-1.87-cfgdir.patch
  FILESDIR is used instead of CFGDIR since 1.89
- Update tinyxml patch to 1.90
2019-12-22 00:02:00 +01:00
Steve Grubb 250c014135 Correct versions in changelog 2019-12-12 13:14:34 -05:00
Steve Grubb 5716d07932 Add "-fsigned-char" to CXXFLAGS, to make tests pass
https://trac.cppcheck.net/ticket/9359
2019-12-12 10:07:48 -05:00
Steve Grubb 1442c51633 New upstream release 1.89 2019-12-07 14:21:58 -05:00
Susi Lehtola b1deeef945 bump spec 2019-08-16 10:52:49 +02:00
Susi Lehtola 45daf4b0bf Switch to python3. 2019-08-14 11:04:52 +02:00
Steve Grubb 5cf76bc1bc Add a note to patch 3 2019-08-06 14:46:37 -04:00
Susi Lehtola 3c55f03134 forgot to bump 2019-07-29 09:24:28 +02:00
Susi Lehtola 7f4c5e0d7d Add another patch 2019-07-29 09:16:48 +02:00
Susi Lehtola a0cbaeee24 Fix BZ #1733663. 2019-07-27 11:11:35 +02:00
Fedora Release Engineering 3ea942efe5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 21:06:21 +00:00
Steve Grubb bd7178b3cd Update to 1.88 2019-07-01 20:58:26 -04:00
Steve Grubb 3d97d3e0a1 Update to 1.87. 2019-02-09 13:38:27 -05:00
Fedora Release Engineering 22538f3faa - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:21:18 +00:00
Steve Grubb a9e97c12b4 Update to 1.86. 2018-12-16 09:02:18 -05:00
Igor Gnatenko fc0d5ec626
Rebuild for tinyxml2 7.x
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-11-27 16:57:23 +01:00
Steve Grubb 00d0476e49 Update to 1.85. 2018-11-08 16:29:42 +01:00