Compare commits
3 Commits
rawhide
...
f38-riscv6
Author | SHA1 | Date | |
---|---|---|---|
d2663eee24 | |||
822cee4f1b | |||
d8fbd127df |
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user