Compare commits

...

3 Commits

Author SHA1 Message Date
David Abdurachmanov d2663eee24
Rebuild; New binutils
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-05-12 17:14:05 +03:00
David Abdurachmanov 822cee4f1b
Fix doc files
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-17 19:30:41 +03:00
David Abdurachmanov d8fbd127df
Disable pandoc on riscv64 for now
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-17 16:49:47 +03:00
1 changed files with 12 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: cppcheck
Version: 2.9
Release: 4%{?dist}
Release: 4.1.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)
@ -95,7 +99,7 @@ cd %{_vpath_builddir}/bin
./testrunner -g -q
%files
%doc AUTHORS man/manual.html man/reference-cfg-format.html
%doc AUTHORS
%license COPYING
%{_datadir}/Cppcheck/
%{_bindir}/cppcheck
@ -112,6 +116,12 @@ cd %{_vpath_builddir}/bin
%{_bindir}/cppcheck-htmlreport
%changelog
* Fri May 12 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.9-4.1.riscv64
- Rebuild (new binutils)
* Mon Apr 17 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.9-4.0.riscv64
- Disable pandoc on riscv64 (for now)
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild