diff --git a/cppcheck.spec b/cppcheck.spec index 49f4dbe..68aa6c3 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -2,7 +2,7 @@ Name: cppcheck Version: 2.9 -Release: 4%{?dist} +Release: 4.0.riscv64%{?dist} Summary: Tool for static C/C++ code analysis License: GPL-3.0 URL: http://cppcheck.wiki.sourceforge.net/ @@ -17,7 +17,9 @@ BuildRequires: gcc-c++ BuildRequires: pcre-devel BuildRequires: docbook-style-xsl BuildRequires: libxslt +%ifnarch riscv64 BuildRequires: pandoc +%endif BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: tinyxml2-devel >= 2.1.0 @@ -66,8 +68,10 @@ qhelpgenerator-qt5 online-help.qhcp -o online-help.qhc %build # Manuals make DB2MAN=%{_datadir}/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl man +%ifnarch riscv64 pandoc man/manual.md -o man/manual.html -s --number-sections --toc pandoc man/reference-cfg-format.md -o man/reference-cfg-format.html -s --number-sections --toc +%endif # Binaries # Upstream doesn't support shared libraries (unversioned solib) @@ -112,6 +116,9 @@ cd %{_vpath_builddir}/bin %{_bindir}/cppcheck-htmlreport %changelog +* Mon Apr 17 2023 David Abdurachmanov - 2.9-4.0.riscv64 +- Disable pandoc on riscv64 (for now) + * Thu Jan 19 2023 Fedora Release Engineering - 2.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild